Your turn (X).
Your turn (X).
tic-tac-toe — three in a row against an unbeatable AI.
Take turns marking cells on a 3×3 grid. First to line up three wins.
Play as O.New game resets the board.The AI uses full-tree minimax, so perfect play will always draw. Aim for a tie.