One of the projects that I made from the project I were assigned during my OOP course at ITU.
Chess Tactix is a two-player chess game developed in C++ using the SFML (Simple and Fast Multimedia Library). It features all the standard chess moves, the ability to save and load games via text files, and options for players to undo and redo their moves. The game offers a polished graphical interface, smooth gameplay mechanics, and comprehensive game state management.
Check out the latest demo of Project ChessTactix.
- SFML 2.5.x
- Microsoft Visual Studio 2022
- C++ 20
- Only 1920x1080 resolution is supported for now.
- Basic Rules: All basic moves and rules are implmented using Oop concepts in C++.
- Piece Sprites: Chess pieces are represented using sf::Sprite, with textures loaded from image files.
- Turn Display: Uses sf::Text to show which player's turn it is.
- Move Highlights: Highlights possible moves using sf::Sprite, with textures loaded from image files.
- Mouse Input: Uses sf::Mouse to handle piece selection and movement.
- Check and Checkmate Detection: Validates moves to detect check and checkmate conditions using Oop concepts and combining the use 2-d arrays.
- Save and Load Game: Saves the game state to a text file and loads it back.
- Undo and Redo Specific Move: Saves the game states to a temporary text file and loads it back for the specific function.