Skip to content

Tic-Tac-Toe is a web game with a score table for multiple rounds, allowing users to choose their game icons.

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

23 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.

I have re-implemented this project in NextJS to showcase my NextJS skills: tic-tac-toe-next

A separate branch named with-redux has been created in this repository for learning purpose and to simplify state management using Redux.

game user-interface

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.

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

Tic-Tac-Toe is a web game with a score table for multiple rounds, allowing users to choose their game icons.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published