/checkers-game

Primary LanguageCGNU General Public License v2.0GPL-2.0

checkers-game

Requirements

  1. GCC compiler
  2. GNU make

Set-Up Instructions

  1. Clone the repository to your local system by git clone https://github.com/siddharth-mavani/checkers-game.git
  2. CD into the cloned repository.
  3. run make checkers in the terminal to compile the code and generate the executable.
  4. run ./checkers in the terminal to start playing the game.

Game Instructions

  1. Enter 1 to start new game.

    1. Enter the information about the players to start the game.
    2. 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.
    
  2. Enter 2 to load a saved game, followed by the name of the game.

  3. Enter 3 to change the game settings. The following settings can be modified

    Auto Rotate
    Compulsory Capture
    
  4. Enter 4 to exit the game.