Use the webtask.io infrastructure to run games against tic-tac-toe AI
All relevant files are in the src
folder
- ai-random.js: an AI that just chooses a spot at random
- ai-alphabeta.js: an AI using alpha-beta pruning + a utility heuristic to quickly determine the best move for its player.
- server.js: the server that pits the two AIs against each other.