Skip to content

A checkers game made in C++, developed as an assignment for the CS112 course at GIKI. The implementation uses object-oriented programming principles and class structures to represent the game state and game pieces

Notifications You must be signed in to change notification settings

0xnomy/checkers-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Title: Checkers Game in C++ Using Classes

This repository contains a checkers game implementation in C++, developed as an assignment for the CS112 course at GIKI. The game is played on an 8x8 board and features basic moves such as single diagonals, jumps, and kinging. The implementation uses object-oriented programming principles and class structures to represent the game state and game pieces.

The game is played in the terminal/console. Players can move their pieces by entering the starting and ending positions of the piece they want to move. The game provides basic validation for moves, such as checking if a move is legal, whether a player has won, and if a piece can be kinged.

The code is well-structured and easily understandable. The game also includes features such as error handling and input validation to ensure the game runs smoothly, it might contains some errors as the IsKing Function is not compelete.

Contributions and feedback are welcome, and users are free to fork the repository and make modifications or additions to the game as they see fit.

Clone or download the repository

Compile the program using a C++ compiler

Run the executable to start the game

Follow the instructions to play the game

Credits:

Developed by Nauman Ali Murad and Syed AbdulRehman Hasan as an assignment for the CS112 course taught by Dr Zahid Halim at GIK Institute.

About

A checkers game made in C++, developed as an assignment for the CS112 course at GIKI. The implementation uses object-oriented programming principles and class structures to represent the game state and game pieces

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages