Notes
This function is in beta test. Please help improve it in the issues
here.
Your Answer
Usage: ./reversi [OPTIONS]
A local multiplayer Reversi game.
Options:
-h|--help Print this help message
-v|--version Print version information
Commands:
AUTO Automatically process the game by always placing the first valid disk
DONE Manually exit the game
LOAD filename Load the game status from the specified file, e.g. LOAD sample.txt
If the filename does not exist, sample.txt will be loaded by default
PLACE x y Place a new disk at position (x, y), e.g. PLACE 3 c
PRINT Print current board
SAVE filename Save the game status to the specified file, e.g. SAVE sample.txt
If the filename does not exist, it will be automatically created
JOJ Answer
Usage: ./reversi [OPTIONS] A local multiplayer Reversi game. Options: -h|--help Print this help message -v|--version Print version information Commands: AUTO Automatically process the game by always placing the first valid disk DONE Manually exit the game LOAD filename Load the game status from the specified file, e.g. LOAD sample.txt If the filename does not exist, sample.txt will be loaded by default PLACE x y Place a new disk at position (x, y), e.g. PLACE 3 c PRINT Print current board SAVE filename Save the game status to the specified file, e.g. SAVE sample.txt If the filename does not exist, it will be automatically created