The old and beloved Tic-Tac-Toe game of all time built with React
and with handy extra features.
- Play
Tic-Tac-Toe
- Indicates when a player has
won
or if there is adraw
Stores
the moves history during play- Allows players to go back to previous moves
- Displays the location of each move as (
row, column
) in the move history line - Player's winning cells are highlighted upon winning
- X and O and hover events built entirely on CSS classes
- Play against the computer (coming soon)
Clone, Install dev dependencies and Run the dev server
git clone https://github.com/luvagu/react-tic-tac-toe.git
cd react-tic-tac-toe
npm install
npm start
Build the production app
npm run build
Deploy to GitHub Pages for Free
Must first activate this option on your own repo and set the
homepage
link in yourpackage.json
Learn more at https://guides.github.com/features/pages/
npm run deploy
Try the demo account at: https://luvagu.github.io/react-tic-tac-toe
Enjoy!