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

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

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