A Node.js implementation of the classic game of strategy, Tic Tac Toe, featuring an unbeatable AI opponent.
Before installing this game, make sure you have the following dependencies installed. Follow the links below for install files and instructions.
- Clone this repository onto your machine in a directory of your choosing.
- In the command line terminal, navigate to the root directory of your local clone (i.e.,
/unbeatable-tic-tac-toe/
). - Run
npm install
. This will install all of the dependencies of this project.
Your contributions are very welcome! The best thing you could possibly do is break this code and then let me know about it. Contact me or open an issue to discuss potential changes/additions.
Author
- Jeff Bothe, @jmbothe
Inspiration
- Jason Fox's article on implementing the minimax algorithm in tic tac toe
- Nikolay Nemshilov's article on reading user input with Node