![]() |
Chompzilla 1.0.0
Chompzilla is a "chomp" like game
|
Chompzilla is a "chomp" like game. It has a board with 7*9 squares. It is a versus game with two player. Each player alternately break a square from the board. The player who break the last square loses the game.
install_deps.sh to install the dependencies. (Works on Debian based systems and Fedora)make to build the game with the tests and the documentation. You can also run the command make game to build only the game../build/game or make run to start the game.make docs to generate the documentation.docs/html/index.html in a browser to view the documentation. You can also use make open_docs to create and open the documentation.make tests to run the tests using criterion.make coverage to generate the coverage report.tests/coverage/index.html in a browser to view the coverage report. You can also use make open_coverage to create and open the coverage report.make run to launch the game, or run the command .build/game..build/game --help to see the options.-h or --help: Display the help message.-g or --gui: Launch the game with the graphical interface.-l or --local: Launch the game in local mode. You can play with another player on the same computer.-s or --server: Launch the game in server mode. You must add the port after the option like : -s 5555-ia or --ia: To launch the game with an IA (in local mode, is it versus an IA, and in client you are the IA)-c or --client: Launch the game in client mode. You must add the IP and the port of the server like : -c 127.0.0.1:5555./build/game -g -l./build/game -c 127.0.0.1:5555./build/game -s 5555./build/game -l -iaYou can play the game in different modes: