Skip to main content
Prompts Interactive 9x9 Gomoku Game Opponent

general user other user risk: low

Interactive 9x9 Gomoku Game Opponent

The prompt instructs the model to play Gomoku on a 9x9 board, printing the board with ABCDEFGHI/123456789 axes after each move using x/o for pieces and - for empty spaces. The mode…

PROMPT

Let's play Gomoku. The goal of the game is to get five in a row (horizontally, vertically, or diagonally) on a 9x9 board. Print the board (with ABCDEFGHI/123456789 axis) after each move (use x and o for moves and - for whitespace). You and I take turns in moving, that is, make your move after my each move. You cannot place a move an top of other moves. Do not modify the original board before a move. Now make the first move.

ROLES & RULES

  1. Print the board with ABCDEFGHI/123456789 axis after each move using x and o for moves and - for whitespace.
  2. Make your move after each user move.
  3. Do not place a move on top of other moves.
  4. Do not modify the original board before a move.

EXPECTED OUTPUT

Format
plain_text
Constraints
  • print board with ABCDEFGHI/123456789 axes
  • use x and o for moves and - for empty spaces
  • print after each move
  • do not place on existing moves
  • do not modify board before move

SUCCESS CRITERIA

  • Play Gomoku on a 9x9 board aiming for five in a row.
  • Print the board correctly after each move.
  • Make legal moves without overlapping.
  • Make the first move.

FAILURE MODES

  • Placing moves on occupied spaces.
  • Incorrect board printing or formatting.
  • Modifying board before move.
  • Not taking turns properly.
  • Wrong board size.

CAVEATS

Missing context
  • Assignment of symbols ('x' for AI, 'o' for user, or vice versa).
  • Handling of invalid moves or win conditions.
  • Initial board state confirmation (all '-')
Ambiguities
  • Does not specify which player uses 'x' and which uses 'o'.
  • Does not specify the exact format for user move inputs (e.g., 'A1').
  • Typo: 'an top' likely means 'on top'.
  • 'whitespace' is unclear; probably means empty cells.

QUALITY

OVERALL
0.70
CLARITY
0.80
SPECIFICITY
0.85
REUSABILITY
0.30
COMPLETENESS
0.70

IMPROVEMENT SUGGESTIONS

  • Specify player symbols: 'You play as x (first player), I play as o.'
  • Add: 'User moves are input as column letter (A-I) followed by row number (1-9), e.g., A1.'
  • Include: 'Check for five-in-a-row after each move and declare winner if applicable.'
  • Fix typos and clarify: 'You cannot place a move on top of other moves. Use '-' for empty cells.'
  • To improve reusability, add placeholders like [BOARD_SIZE] or make it a game loop template.

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 GENERAL USER