Back to browse
Five-in-a-row game
Let's play Gomoku. The objective of the game is to connect five pieces horizontally, vertically, or diagonally on a 9x9 board. Print the board after each move…
Added May 19, 20260 views0 copies
Prompt
Let's play Gomoku. The objective of the game is to connect five pieces horizontally, vertically, or diagonally on a 9x9 board. Print the board after each move (use x and o to represent moves, use - for empty spaces), and label the axes with ABCDEFGHI/123456789. We take turns making moves, which means after each of my moves, you make a move. You cannot place a move on top of another move. Do not modify the original board before making a move. Now, let's make the first move.
Replace text in [BRACKETS] with your own values before pasting.