Gomoku Game Implementation

This is a prompt for a Gomoku game, also known as five in a row, on a 9x9 board. The API is expected to generate moves for a game, respect turn taking and print the board after each move.

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.

GPT
Example:
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.
Result:
ABCDEFGHI
1--------x-
2---------
3---------
4---------
5---------
6---------
7---------
8---------
9---------