Play on zappy.gabrielhamel.fr
make zappy_ai
./zappy_ai -h <hostname> -p <port> -n <team>
# eg. ./zappy_ai -h zappy.gabrielhamel.fr -p 8080 -n team1
make zappy_server
./zappy_server -p <port> -x <width> -y <height> -n <team-name> ... -c <max-player-in-team> -f <speed>
# eg. ./zappy_server -p 8080 -f 20 -x 30 -y 30 -n team1 team2 -c 5
or
export ZPY_PORT=8080
export ZPY_WIDTH=20
export ZPY_HEIGHT=20
export ZPY_SPEED=10
export ZPY_NB_CLIENT_TEAM_MAX=5
export ZPY_TEAM_NAMES=Blue:Red:Yellow:Green
./zappy_server
The build needs criterion library
make tests_run
You can see the coverage in the report stored in tests/html/index.html
The generation needs doxygen and graphviz commands
make documentation
You can consult Ia documentation in doc_ia/html/index.html and the Server documentation in doc_server/html/index.html
There are a graphical webview. There are a relay in socket.io between the game server and the webview to avoid TCP connection in web. To see all deployment you can check all Dockerfile