An unbeatable tic-tac-toe game. Uses the minimax algorithm with alpha-beta pruning. If both players play perfectly, the game will end in a draw. The computer plays perfectly and so cannot be beaten.
Play online at https://karlparkinson.github.io/tictactoe/
Developed on Firefox (45), tested on Chromium (49).
Licensed under MIT.