This project was bootstrapped with Create React App.
This version of the simple Tic-Tac-Toe game was implemented so that the computer does not lose. Please follow the directions below to demo it out. Enjoy!
-
Clone this repo in your local environment. HTTPS:
git clone https://github.com/g1na1011/tic-tac-toe.git
SSH:git clone git@github.com:g1na1011/tic-tac-toe.git
-
Install your dependencies with
yarn install
before starting. -
Run the app in development mode in the terminal at the root directory with
yarn start
-
App should automatically open up in a new browser, or you can also visit http://localhost:3000
-
Human player starts the game so make the initial move!
-
Feel free to reset the game at any time.
-
Winning state will render when the game is over or tied.