Skip to content

Chess Tactix is a two-player chess game developed in C++ using the SFML. 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

Notifications You must be signed in to change notification settings

BazilSuhail/ChessTactix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChessTacTix (Multiplayer Chess Game)

One of the projects that I made from the project I were 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.

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

About

Chess Tactix is a two-player chess game developed in C++ using the SFML. 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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published