Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EngineerParth/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toe

A tic-tac-toe game using react.js

This project is based on the official tutorial of react.js. The link for it is here: https://reactjs.org/tutorial/tutorial.html

Following are the features of Game

  1. Lets you play tic-tac-toe
  2. Indicates when a player has won the game
  3. Stores a game’s history as a game progresses
  4. Allows players to review a game’s history and see previous versions of a game’s board

Apart from the basic functionality of the game, following features are added by solving the exercise of the same tutorial

  1. Displaying of the location for each move in the format (col, row) in the move history list
  2. Highlighting the currently selected item in the list as bold
  3. Rewriting the board initialization code using loops
  4. A toggle button to sort the list of moves into ascending/descending order
  5. Highlighting the 3 positions of a winner
  6. When no one wins, displaying the message "Draw"

About

A tic-tac-toe game using react.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published