Chess_Project_Report
Chess_Project_Report
Team Members:
Trịnh Võ Nam Kiệt
Đoàn Tuấn Anh
Table of Contents
1 Project Overview 2
2 Requirements Specification 2
3 Design Document 2
4 Implementation Details 3
5 Testing 4
6 Future Improvements 4
8 Install instruction 7
9 Contact Info 8
Project Report 2
1. Project Overview
This project aims to develop a functional and interactive chess game. The main objectives
include implementing core chess rules, designing a user-friendly interface, and ensuring a
smooth gameplay experience. Key goals include allowing players to play locally (PvP) or
with an AI opponent.
2. Requirements Specification
The game includes the following features:
3. Design Document
The architecture consists of the following components:
• Game State Manager: Switches between Menu, Game, Settings, and Pause
screen.
Class Diagram:
Project Report 3
4. Implementation Details
The project is implemented using C++ with the SFML library and Stockfish.
The code is organized into the following structure:
Main Components:
• Game.cpp / Game.h: Implements the core game logic, including board manage-
ment, rules enforcement, and turn management.
• Menu.cpp / Menu.h: Manages the main menu interface, allowing players to start
a game, access settings, or exit.
• AI.cpp / AI.h: Implements AI logic, allowing the game to generate moves when
playing against a computer opponent.
External Libraries:
• SFML: Used for graphics rendering, user input handling, and animation.
5. Testing
The game underwent multiple testing phases:
6. Future Improvements
The following enhancements are planned for future versions:
8. Install instruction
1. Extract Project.rar.
9. Contact Info
• Email:
[email protected] (Nam Kiệt),
[email protected] (Tuấn Anh)
• Phone:
0787571406 (Nam Kiệt)
0762581546 (Tuấn Anh)
• Facebook:
https://www.facebook.com/profile.php?id=61559798986671 (Nam Kiệt)
https://www.facebook.com/profile.php?id=100006042914532 (Tuấn Anh)