This simple Tic-Tac-Toe will never lose, without having to do any minimax computation. It works by a fairly simple decision-making process. It is context-independent except for one patch to avoid a common trap.
fewf/tictactoe
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.