Welcome to my ChessGame! A simple chess game developed in C++ using SFML.
- Classic Chess Rules: Enjoy a full chess experience with all standard rules, including castling, en passant, and pawn promotion.
- Pawn Promotion: Promote your pawns when they reach the last rank to any piece of your choice.
- Intuitive Controls: Use your mouse to move pieces and navigate the interface.
- Clone the repository:
git clone https://github.com/your-username/ChessGame.git
cd ChessGame
- Install dependencies:
Ensure that you have SFML installed. If you're using
vcpkg
, you can install it with:
vcpkg install sfml
- Build the project:
Open the project in Visual Studio and build the solution. Ensure that your SFML libraries are correctly linked.
- Use the mouse to select a piece and move it.
- Follow the rules of chess to checkmate your opponent.
- Press specific keys during pawn promotion to choose your piece.
Gameplay.mp4
The chess piece icons were extracted from the website flaticon.com.
A special thanks to the authors rizal2109, sbts2018, deemakdaksina, freepik and stockio for freely providing the icons.
Feel free to fork this repository and contribute to the project by submitting pull requests. All contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
Enjoy the game! ♟️