Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 2.6 KB

README.md

File metadata and controls

43 lines (37 loc) · 2.6 KB

ChessTacTix (Multiplayer Chess Game)

One of the projects that I made from the project I was assigned during my OOP course at ITU.

Game Description:

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.

🤖 Tech Stack

C++ Object-Oriented Programming SFML Microsoft Visual Studio

Check out the latest demo of Project ChessTactix.

Instructions for Installation:

Dependencies:

  • SFML 2.5.x
  • Microsoft Visual Studio 2022
  • C++ 20

Note:

  • Only 1920x1080 resolution is supported for now.

Features:

  • 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.

Game Screenshots

Main menu

Chess Board

Board screenshot

Promotion of Pawns

Board screenshot

Check Condition

Promotion prompt