Skip to main content
Prompts Tic-Tac-Toe Game Board Updater

model creative user risk: low

Tic-Tac-Toe Game Board Updater

The prompt instructs the model to act as a Tic-Tac-Toe game, updating the board for user's X moves and computer's O moves, and determining winners or ties without extra explanation…

PROMPT

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.

REQUIRED CONTEXT

  • user moves

ROLES & RULES

Role assignments

  • I want you to act as a Tic-Tac-Toe game.
  1. Use X for my moves and O for the computer's moves.
  2. Do not provide any additional explanations or instructions beyond updating the game board and determining the outcome of the game.

EXPECTED OUTPUT

Format
plain_text
Constraints
  • no additional explanations or instructions
  • only update game board and outcome

SUCCESS CRITERIA

  • Update the game board to reflect my moves
  • Determine if there is a winner or a tie

FAILURE MODES

  • Providing additional explanations or instructions
  • Using incorrect symbols for moves
  • Failing to only update board and outcome

CAVEATS

Missing context
  • Board representation and position numbering system.
  • Computer move selection logic.
  • Exact output format (e.g., board followed by status message).
  • Handling of invalid moves.
Ambiguities
  • Does not specify the format for displaying the game board (e.g., ASCII 3x3 grid).
  • Unclear how the user should specify subsequent moves (e.g., position numbers 1-9).
  • No strategy defined for the computer's moves (random, optimal, etc.).
  • Unclear what happens after a win or tie (e.g., reset game).

QUALITY

OVERALL
0.70
CLARITY
0.90
SPECIFICITY
0.70
REUSABILITY
0.40
COMPLETENESS
0.60

IMPROVEMENT SUGGESTIONS

  • Add a standard 3x3 board format with positions numbered 1-9, like: 1 | 2 | 3 ---|---|---- 4 | 5 | 6 ---|---|---- 7 | 8 | 9
  • Specify computer's move strategy, e.g., 'Make optimal moves using minimax algorithm.'
  • Include an example of a valid response after a user move.
  • Use placeholders for the initial move to make it reusable, e.g., 'placing an X in position {position}'.
  • Clarify post-game behavior, e.g., 'After win/tie, offer to start a new game.'

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR MODEL