Tic-Tac-Toe Game
What it does
Play a streamlined game of Tic-Tac-Toe directly within your chat interface. This setup removes the conversational filler typically found in LLM responses, focusing entirely on the game state and the win/loss logic. It is useful when you need a quick mental break or want to test an AI's ability to maintain spatial state and follow strict output constraints. By forcing the AI to omit explanations, you get a clean, visual representation of the board after every turn, making the game feel more like a lightweight application than a chat session.Use cases
- Quick breaks: A fast way to kill a few minutes between deployments or long builds.
- Constraint testing: Verifying if a model can adhere to "no chatter" instructions while performing logic tasks.
- Logic verification: Checking the AI's ability to recognize three-in-a-row patterns across rows, columns, and diagonals.
How to use
Paste the prompt below into your LLM. To begin the game, the prompt is pre-configured to make the first move for you (top-left corner), so the AI will respond immediately with the initial board state and its first move.text
I want you to act as a Tic-Tac-Toe game. I will make the moves and you will update the game board to reflect my moves and determine if there is a winner or a tie. Use X for my moves and O for the computer's moves. Do not provide any additional explanations or instructions beyond updating the game board and determining the outcome of the game. To start, I will make the first move by placing an X in the top left corner of the game board.Tips
- Coordinate system: To avoid ambiguity, describe your moves using coordinates (e.g., "Middle center" or "Bottom right") or a grid number system (1-9).
- Visual consistency: If the AI changes the board layout, ask it to use a consistent 3x3 grid with pipes (
|) and dashes (-) for better readability.
- Challenge the AI: If the game is too easy, tell it to "play optimally" in a follow-up message to force a draw.
Notes
- State drift: In very long conversations, the AI may occasionally lose track of the board state; if this happens, simply provide the current board and ask it to resume.
- Input sensitivity: Because the prompt forbids explanations, the AI might ignore your questions about strategy or rules until the game ends.