Classic checkers implemented in C++ using SFML library with simple yet effective AI that uses minimax algorithm to work
Currently, you can build this game on Windows and Linux
In order to build this, you will need:
- Premake 5 or newer
- SFML 2.4.2 or newer
and depending on your platform:
- Windows: Visual Studio 2017 or newer
- Linux: gcc 7.3.0 or newer
-
Download Premake 5.0 from this website and place it somewhere where you will be able to use it from the command line
-
Install SFML library on your system or download prebuilt package that exactly matches your compiler. Either way you should have a directory on your system which contains an include, lib and bin subdirectories. Save path to this directory, you will need it later
-
Open command line and navigate to the place where you have downloaded Checkers. If for example your SFML was installed at
C:/SFML
and you are usingVisual Studio 2017
then you should run the following command:premake5 vs2017 --SFML_INSTALL_DIR=C:/SFML
. Remember to adjust path accordingly and use forward slashes -
Open file
checkers.sln
using Visual Studio and compile Checkers project clicking onBuild -> Build Solution
-
Download Premake 5.0 from this website and place it somewhere where you will be able to use it from the command line
-
Install SFML library on your system by typing this into command line:
sudo apt install libsfml-dev
-
Open command line and navigate to the place where you have downloaded Checkers. Run the following command:
premake5 gmake && make
. This will generate a makefile for your system and use it to compile project
Making this game wouldn't be possible without the help of many amazing people and websites that allow game developers to find and use fantastic high-quality free resources
Websites that I used:
Resources that I used:
- Graphics
- RPG GUI Construction Kit v1.0 by Lamoot licensed: CC-BY 3.0
- Seamless Grass Texture II by athile licensed: CC0 1.0 Universal
- Chess Pieces and Board Squares by JohnPablok licensed: CC-BY-SA 3.0
- Chess Pieces by 8BitGoggles licensed: CC-BY-SA 3.0
- Chess Board Icon by Aha-Soft licensed: license
- Sounds
- Music
- Woods by Axton Crolley licensed: CC-BY 3.0
- Forest by syncopika licensed: CC-BY 3.0
- Woodland Fantasy by Matthew Pablo licensed: CC-BY 3.0
- Decision by Alexandr Zhelanov licensed: CC-BY 3.0
- Journey to the East Rocks by Alexandr Zhelanov licensed: CC-BY 3.0
- Nature Theme Sketch by remaxim licensed: CC-BY-SA 3.0