A JavaScript web application, which allows the user to play Tic Tac Toe in the browser. View Tic Tac Toe on Heroku.
Created with @sohbaker.
- The player can start a 3x3 game in the browser
- Two human players take turns playing (X or O) until the board is full or one of them wins
- The winning player (or a tie) is announced
- The users can play again
Tic Tac Toe can be viewed on Heroku. Alternatively, it can be run locally:
Note: You can download node and npm from here, if not already installed.
git clone https://github.com/itsellej/js-book-search-app.git
cd js-book-search-app
npm install
npm run build
npm start
Navigate to http://localhost:8080
in your browser.
The testing library used is Jest.
Type npm run test
in the terminal.
- A human player can play against a simple computer who randomly selects an available space
- The user can choose to play against an expert computer via an API call to Dan's AWS Lambda https://github.com/pelensky/ttt_network_player
- Test frontend code
Blog posts published to Medium during the creation of Tic Tac Toe: