Skip to content

Created a Tic-Tac-Toe game. The game has a score table to keep count of scores across multilple rounds. It also allows to choose the pair of icon to play the game with.

Notifications You must be signed in to change notification settings

chauhanshilpa/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toe

tic-tac-toe is a two-player game in which players take turns on a 3x3 grid and can choose pairs of icon to play with. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row wins the game.

Installation

Open terminal of your local machine, clone repository, run the command npm install and then run npm start

Game Controls

The game controls are simple:

  1. Click on an empty cell to place your mark.
  2. The game will automatically switch turns after each move.
  3. The game will detect when any player has won or the game ends in a draw.

Game Features

The game features include:

  1. A simple and intuitive user interface.

  2. A heading that tracks of wins and draws.

  3. A Play Again button to play next round and a Reset Table button that allows players to start a new game.

  4. Choices between desired icons pair for players.

  5. A score table that shows the pair of icons with which game was played and the score obtained by both players.

    game user-interface

Credits

This game was created using React. The icons were obtained from fontawesome. The components style was obtained from bootstrap and some custom style.

About

Created a Tic-Tac-Toe game. The game has a score table to keep count of scores across multilple rounds. It also allows to choose the pair of icon to play the game with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published