https://github.com/rxn7/chess
Chess written in C++ using SFML
https://github.com/rxn7/chess
chess cpp sfml
Last synced: 4 months ago
JSON representation
Chess written in C++ using SFML
- Host: GitHub
- URL: https://github.com/rxn7/chess
- Owner: rxn7
- License: gpl-3.0
- Created: 2022-08-31T15:54:18.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2025-01-23T23:09:55.000Z (over 1 year ago)
- Last Synced: 2025-05-05T18:35:36.353Z (about 1 year ago)
- Topics: chess, cpp, sfml
- Language: C++
- Homepage: https://rxn.lol/#/project/chess
- Size: 577 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Implements every chess rule:
### Castling
/
/![]()
### En Passant

### Check
### Checkmate

### Stalemate

### 50 Move Rule

# Features
### Last move is highlighted
### Each action has a sound (move, capture, check, checkmate, stalemate)
### Every legal move you can make with held piece is highlighted
### Press 'T' to randomize theme
### Press 'R' to revert to default theme
### Press 'Escape' to restart the game
# Get started
## Clone
- ```git clone https://github.com/rxn7/chess --recurse-submodules```
## Setup
```./configure.sh``` sets up the build folder (running this script or ```build.sh -c``` is required after cloning the project)
## Compile
```./build.sh```:
- -r: release mode
- -w: windows (requires mingw and all of the mingw libraries to be installed)
- -c: clean (delete the build folder and run configure.sh)
## Run
```./run.sh```:
- -r: release mode
- -w: windows (requires wine to be installed)
# Attribution
## Chess pieces textures
[files](https://commons.wikimedia.org/wiki/Template:SVG_chess_pieces#Table_of_chess_piece_SVG-images)
[license](https://www.gnu.org/licenses/gpl-3.0.html).