- Tic-tac-toe is a paper-and-pencil game where two players alternate placing Xs and Os on a 3x3 grid. The first player to get 3 in a row wins.
- The game uses a 3x3 character matrix to represent the board, and functions like check() to evaluate the board state after each move.
- The get_computer_move() function uses minimax search to evaluate all possible future moves and choose the move that maximizes the computer's chance of winning or drawing. It simulates both players' optimal play to assign each possible current move a grade.