/tic-tac-toe

Primary LanguageJavaScript

This project was bootstrapped with Create React App.

Tic-Tac-Toe

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!

Running the Code

  1. 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

  2. Install your dependencies with yarn install before starting.

  3. Run the app in development mode in the terminal at the root directory with yarn start

  4. App should automatically open up in a new browser, or you can also visit http://localhost:3000

  5. Human player starts the game so make the initial move!

  6. Feel free to reset the game at any time.

  7. Winning state will render when the game is over or tied.