- GCC compiler
- GNU make
- Clone the repository to your local system by
git clone https://github.com/siddharth-mavani/checkers-game.git
- CD into the cloned repository.
- run
make checkers
in the terminal to compile the code and generate the executable. - run
./checkers
in the terminal to start playing the game.
-
Enter 1 to start new game.
- Enter the information about the players to start the game.
- Enter the following commands to use the provided functionalities according to the given syntax as instructions on the side of the board:
MOVE, to move the tokens. UNDO, to undo the previous move with consensus of both the players. REVIEW, to launch the game review. SUGGEST, to help yourself with the moves suggested by the program. NEXTK, to get all possible moves in next 'K' turns. SAVE, to save the game you are playing. UPDATE, to update the game-file of the previously played game. SETTINGS, to access the in game settings. QUIT, to quit the game.
-
Enter 2 to load a saved game, followed by the name of the game.
-
Enter 3 to change the game settings. The following settings can be modified
Auto Rotate Compulsory Capture
-
Enter 4 to exit the game.