An online RPS/じゃんけん/石头剪子布 game.
You need CMake and ncurses.
$ mkdir build
$ cd build
$ cmake ..
$ make
The server and client program will be located at bin/server
and bin/client
, respectively.
By default, the server listens at 0.0.0.0:22502
, and the client connects to 127.0.0.1:22502
.
You can change the IP/port to listen/connect with command-line arguments: see --help
.
In the client, first enter your nickname and press Enter to login. Then use Tab, arrow keys and Enter to select and perform actions.