- [G]
/test
: Check if the server is alive - [P]
/game/start
: Starts the game - [G]
/game/get_status
: Returns the state of the game - [P]
/game/make_move
: Keep a piece at a position on board
Args:
- p1: Name of team1
- p2: Name of team2
- ip1: IP addr of team1
- ip2: IP addr of team2
- board_size: Board dimen
Returns:
- True
Returns:
- True
Args:
- r_pos: row number
- c_pos: col number
Returns:
- Whether move was valid or not