Skip to content

Tic-Tac-Toe built using functional components in ReactJs. This game supports undo and redo of moves, and has several difficulties to challenge people

Notifications You must be signed in to change notification settings

JustinSo1/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

The famous paper and pencil game built using functional ReactJs that can undo and redo moves, and contains customizations such as difficulty, and board size. To have a quick demo of the game click here.

PlayingTheGameGif

Getting Started

Fork this repository.

Clone the repository through terminal by running git clone [email protected]:{YOUR_USERNAME}/tic-tac-toe.git

Install Node.js

Install React

Go to the package.json file and change the "http://{username}.github.io/tic-tac-toe" to your user name

Use the package manager npm to install the dependencies this project requires.

  1. Install the dependencies
npm install
  1. Start up the project
npm start

Prerequisites

node.js (v12.13.1 or above)

Material UI (v4.9.14 or above)

ReactJs (16.13.1 or above)

How to Play

On the opening screen, you choose your player character and what difficulty to play on. After you are sent to the play screen where you click on the square you would like to place your chosen character. You can undo/redo any moves you and the opponent has made through the buttons at the bottom. When the game ends there will be a result button telling you the results and an option to start a new game.

Images

This is the start screen of the webpage

Image of StartScreen

This is the screen when playing the game

Image while playing the game

This is the screen when the game has concluded

Image when game is finished

Built With

About

Tic-Tac-Toe built using functional components in ReactJs. This game supports undo and redo of moves, and has several difficulties to challenge people

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published