Skip to content

rxn7/chess

Repository files navigation

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

About

Chess written in C++ using SFML

Topics

Resources

License

Stars

Watchers

Forks