user
Can you help with this?

Create a program that can play tic-tac-toe against a human player.

assistant
The program would need to be able to recognize the board state and analyze possible moves. It should also be able to evaluate potential outcomes and select a move based on the highest probability of winning. Additionally, the program would need to be able to detect possible draws and respond accordingly.