Instructions for making Checkers game is given in instructions.pdf
Introduction: This is a checkers game developed in C++ by Junaid Saleem. It is a classic board game where two players take turns moving their pieces on an 8x8 grid. The game follows the standard rules of checkers, implementing the necessary functionalities using classes.
Instructions:
- The game is played on an 8x8 grid with alternating light and dark squares, forming a checkerboard pattern.
- Each player starts with twelve pieces placed on the dark squares closest to their edge of the board.
- The pieces are differentiated by numbers 1 and 0 for red and black
- Players take turns moving their pieces, with red making the first move.
- Non-king pieces can move diagonally forward to an adjacent empty square.
- Kings can move diagonally forward or backward to an adjacent empty square.
- Jumping is allowed to capture an opponent's piece by jumping over it diagonally to the adjacent vacant square beyond.
- Multiple jumps can be made in a single move, capturing multiple opponent's pieces, with the option to change directions.
- When a piece reaches the last row (the King Row), it becomes a king and gains the ability to move and jump backward.
- The game continues until one player is unable to move because they have no pieces left or all of their pieces are blocked.
- Players can resign or agree to draws.
Note: This implementation does not include any graphical interface and is purely text-based.
Usage:
- Clone the repository to your local machine.
- Compile the C++ source code using a C++ compiler.
- Run the compiled executable to start the game.
- Follow the on-screen instructions to make moves and play the game.
- The game will display the board and prompt each player for their move.
- Input your moves using the specified format and press enter.
- Continue playing until the game reaches a conclusion.
- Enjoy the game of checkers!
Have fun playing the Checkers Game and enjoy the strategic challenges it offers!