How to Play Tic-Tac-Toe Against ChatGPT
Play some Tic-Tac-Toe against OpenAI’s ChatGPT chatbot.
ChatGPT is proving to be an incredibly powerful tool, capable of providing instantaneous answers to almost any query. Did you know you can also play games against it? In this guide, we’ll show you how you can play Tic-Tac-Toe against ChatGPT to pass the time. It’s one of the many fun and creative uses of OpenAI’s chatbot.
First, you will need to start by giving ChatGPT a detailed prompt about how you want to play.
ChatGPT Tic-Tac-Toe Prompt
Here is the ChatGPT prompt to play Tic-Tac-Toe:
“I want you to act as a Tic-Tac-Toe game. I will make moves and you will update the game board to reflect the moves and determine if there is a winner or a tie. Use X for my moves and O for the computer’s moves. Don’t provide explanations or instructions aside from updating the game board and determining the game’s outcome. To start, I will make the first move and place an X in the middle of the game board.”
ChatGPT should respond with a layout of the game board to reflect your move. The computer will then make the next move.
From here on out, you can respond by saying the position of your next move. For example, to go on the top-left corner, you can say “first row, left column.” Or, if the game board is labeled with numbers, you can simply say “1.”
ChatGPT will eventually declare a winner or announce a tie, depending on the subsequent moves.
Sure, ChatGPT may not be the world’s best Tic-Tac-Toe player, but this is a really creative way to use the chatbot! Hopefully, you found this prompt interesting and can use it to come up with your own ideas.