Skip to content

Attaulhaleem/sfml-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sfml-chess

A vanilla Chess game created using C++ and SFML.

Details

  • Both players are controlled manually; no chess engine is integrated (yet).
  • Pawn promotion results in automatic Queen (for now).
  • En passant and castling are implemented.
  • Board flipping is available.
  • Legal move and check highlighting for easier gameplay.
  • Different piece themes to choose from.
  • Supports multiple board colors including a dynamic RGB mode.

Gameplay

       

       


Controls

  • Q or Esc quits the game.
  • F flips the board.
  • H hides the pieces.
  • P changes the piece theme.
  • B changes the board to a random color.
  • R turns on dynamic RGB color mode.
  • N toggles notation.
  • A changes notation alignment.
  • T turns on threats (for debugging).
  • L turns on labels (for debugging).

Installation

The SFML library can be linked with a Visual Studio Project using these instructions. After linking SFML, add the source files to your project and run.

About

A vanilla Chess game created using C++ and SFML.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages