Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bazilsuhail/chesstactix

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
https://github.com/bazilsuhail/chesstactix

chess chess-game chess-multiplayer chessboard cpp sfml sfml-game

Last synced: 8 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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](https://entitysafe.netlify.app/pages/AppList/-O2LmFl1tEM2iTJ38gk_).

## 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 Highlight**s: 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](https://github.com/Kharbooza978/EntitySafe/blob/main/Chess/chess2.jpg)
### Chess Board
![Board screenshot](https://github.com/Kharbooza978/EntitySafe/blob/main/Chess/chess3.jpg)
### Promotion of Pawns
![Board screenshot](https://github.com/Kharbooza978/EntitySafe/blob/main/Chess/chess4.jpg)
### Check Condition
![Promotion prompt](https://github.com/Kharbooza978/EntitySafe/blob/main/Chess/chess5.jpg)