Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A classic Tic-Tac-Toe game app built with JavaScript. Have fun playing

NotificationsYou must be signed in to change notification settings

Aklilu-Mandefro/javascript-Tic-Tac-Toe-game-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A classic game built usingHTML,CSS &JavaScript.

Table of Contents

Game Walkthrough

Example of the game made:

Brief

Tic-tac-toe is a game for two players, ❌ and ⭕, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner.


Playing:

  • X plays first
  • Click on any grid box to play your move
  • Click reset button after completion to reset the board and play again

To-Do List

This contains the list of features I'm working on or wish to implement them in future.

  • Adding two player mode
  • Giving user the option to either play as ❌ or ⭕
  • Showing scores
  • ❌ and ⭕ animate while making a move
  • Linethrough on the respective column, row or diagonal when a player wins
  • Adding AI using JavaScript minimax algorithm
  • Adding multiplayer mode

Know how to implement these features and contribute? CheckContributions section.
Have more ideas? Checkthis

APIs used

Web Share API - It provides a way to trigger the native share dialog of a device when sharing content, directly from a website or web application.

Service Worker API - Offers offline experience to a user.

External Libraries used

PWACompat - PWACompat is a library that brings the Web App Manifest to non-compliant browsers for better Progressive Web Apps.
Read more on theirblog.

Have an idea? or questions?

If you have an amazing idea for this game, or you got some questions, you can discuss them in thediscussions tab.


If you want to implement your idea by contributing, checkcontributing section.

Found a bug?

If you find a bug, you can alwaysopen an issue in theissues tab to talk about it. Still, if you want tocontact me, checkhere.


Note: Make sure you browse through the existing issues to check if the issue already exists.

Know a fix or want to contribute? Checkcontributions section.

Contributing

Pull requests are always welcome. But before making any major changes you can open anissue to discuss.

For less major or minor changes, you can open apull request.

You can alsocontact me.
Thanks for contributing.

Contact

I don't like spams

Back to top

About

A classic Tic-Tac-Toe game app built with JavaScript. Have fun playing

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp