A C++ chess game with a Qt-based graphical interface, built as part of the INF1015 course at Polytechnique Montréal. This project demonstrates strong object-oriented design, exception handling, and namespace management in a fun and challenging game development context.
- ✅ Full chess logic implementation (legal moves, check, checkmate)
- 🖥️ GUI using Qt6
- 🔁 Turn-based gameplay for two players
- ♟️ Support for all standard pieces: Pawn, Rook, Knight, Bishop, Queen, and King
- 🧠 Exception-safe architecture using C++ best practices
- 🧩 Organized with namespaces and modular code structure
- C++20
- Qt 6 Framework
- CMake (for build configuration)
- Object-Oriented Design principles
- Custom exception classes for error management
- C++20 compatible compiler (e.g.
Visual Studio,CLion) - Qt 6 (recommended: Qt Creator for ease of GUI editing)
- CMake (version 3.10+)
-
Clone the repository:
git clone https://github.com/SebbyMcQueen/ProjetJeuxEchecs.git cd ProjetJeuxEchecs -
Create a build directory and run CMake:
mkdir build cd build cmake .. make -
Run the game:
./ProjetJeuxEchecs
This project was developed for the INF1015 – Programmation orientée objet course at Polytechnique Montréal, with an emphasis on:
-
C++ object-oriented programming
-
Use of exceptions and error handling
-
Proper code modularization
-
Application of design patterns (where applicable)
This project is for educational purposes. Licensing terms may apply depending on course rules — check with your instructor before reusing.