Skip to content
/ Chess Public

A little SFML Chess project, the engine is borrowed from Adventurer's Life

License

Notifications You must be signed in to change notification settings

matihope/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SFML Chess!

Fully functional game of chess written in C++ and SFML (2.5.1).

Controls are simple - press a square and drag a piece or press on another square to move. LeftArrow to undo a move, RightArrow to redo.

A screenshot from the game

Build it yourself:

  1. Install dependencies:

    • Arch Linux:
      sudo pacman -S cmake sfml nlohmann-json
    • Debian / Ubuntu:
      sudo apt-get install cmake libsfml-dev nlohmann-json3-dev
  2. Build project and run:

bash -c "git clone https://github.com/matihope/Chess.git && \
    cd Chess && \
    cmake -B build && \
    cd build && \
    make && \
    cd ../bin && \
    ./chess"

It's important to note, that to launch the game, you have to be inside the bin folder.

List of attributions:

About

A little SFML Chess project, the engine is borrowed from Adventurer's Life

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published