Gomoku player
Let's play Gomoku. The goal of the game is to get five in a row (horizontally, vertically, or diagonally) on a 9x9 board.
Prompt template
- Format
- Text
- Outputs
- result (text)
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.
What you'll create
The board updates after every move and uses x, o and dashes to show occupancy. Horizontal, vertical and diagonal lines can win.
Frequently asked questions
Can a move be placed over an existing piece?
No. The source explicitly forbids it.
Comments
Tried this prompt? Share what you made, compare results, or ask a question