This project was bootstrapped with Create React App.
Description
This is a classic game, Tic Tac Toe, built using React. It keeps track of the history of moves and let's the player(s) time travel backwards and forwards through the moves. The game can be cleared and restarted.
Demo can be found here https://staceyb.github.io/react-tic-tac-toe/
The coding challenges added included:
- Printing out the row and column of a move
- Highlighting the current move
- Changing the look and feel of the game
- Determining if the game was a draw
- Highlighting the winning row with some CSS animation, column or diagonal in the case of a winning game.
- Adding a restart button
- Changing board to use flexbox rather than divs and floats
- Printing out squares dynamically based on the state's array that holds the games values.
- Added debugging launcher for Visual Studio code to make debugging easier