Naughts and Crosses (Tic-Tac-Toe)
- Author
- Jun 15, 2023
- 3 min read
The age-old game that anyone can play, Naughts and Crosses!

So, I saw one website play tic tac toe with ChatGPT, not the whole game but just one move each so I wanted to try it for myself and see how ChatGPT's critical thinking actually rates on playing simple games.
Let's play a game, how's naughts and crosses?
Sure, I'd be happy to play Naughts and Crosses with you! Naughts and Crosses, also known as Tic-Tac-Toe, is a classic game played on a 3x3 grid. The objective of the game is to get three of your symbols (either naughts "O" or crosses "X") in a row, either horizontally, vertically, or diagonally, while preventing your opponent from doing the same.
Giving us a little background on the game.
To make a move, simply let me know the coordinates of the cell where you want to place your symbol. The columns and rows are typically labeled from 1 to 3, so you can specify a move like "A2" or "C3". I'll start by drawing an empty board:
1 2 3
A | |
---+---+---
B | |
---+---+---
C | |
You can go ahead and make the first move by specifying the coordinates for your symbol!
A3 please
Great! You've chosen cell A3 for your move. I'll update the board accordingly:
1 2 3
A | | O
---+---+---
B | |
---+---+---
C | |
Now it's my turn. I'll choose cell B2:
1 2 3
A | | O
---+---+---
B | X |
---+---+---
C | |
Your turn! Where would you like to place your next naught?
C1
Got it! You've chosen cell C1 for your move. Let's update the board:
1 2 3
A | | O
---+---+---
B | X |
---+---+---
C O | |
Now it's my turn. I'll go with cell A1:
1 2 3
A X | | O
---+---+---
B | X |
---+---+---
C O | |
Your turn! Where would you like to place your next naught?
C3
Alright! You've chosen cell C3 for your move. Let's update the board once again:
1 2 3
A X | | O
---+---+---
B | X |
---+---+---
C O | | O
Now it's my turn. I'll choose cell B1:
1 2 3
A X | | O
---+---+---
B X | X |
---+---+---
C O | | O
Your turn! Where would you like to place your next naught?
B3
Alright! You've chosen cell B3 for your move. Let's update the board once again:
1 2 3
A X | | O
---+---+---
B X | X | O
---+---+---
C O | | O
Now it's my turn. I'll go with cell B2:
1 2 3
A X | | O
---+---+---
B X | X | O
---+---+---
C O | X | O
Your turn! Where would you like to place your next naught?
Isn't the game over once someone reaches 3 in a row? Or are we playing by different rules?
Seeing as ChatGPT explained the rules to me before it is a little alarming that it has already forgotten one of the fundamental rules, but at least once I've pointed it out it realises it's error.
Apologies for the oversight. You're absolutely right! In Naughts and Crosses (Tic-Tac-Toe), the game is indeed over as soon as one player gets three of their symbols in a row (horizontally, vertically, or diagonally). In this case, congratulations! You've won the game!
Here's the final board:
1 2 3
A X | | O
---+---+---
B X | X | O
---+---+---
C O | X | O
Well played! If you'd like to play again or have any other questions, feel free to let me know.
Comments