Tic-tac-toe game. Negamax algorithm with alpha–beta pruning was used.