Skip to content

3D Chess game based on OpenGL and Stockfish using cel-shading

License

Notifications You must be signed in to change notification settings

martinRenou/ToonChess

Repository files navigation

ToonChess

3D Chess game based on OpenGL and Stockfish

Build Status

Installation (linux only)

Install CMake, Stockfish and OpenGL:

sudo apt-get install cmake stockfish xorg-dev freeglut3-dev

Install Bullet Physics:

wget https://github.com/bulletphysics/bullet3/archive/2.87.tar.gz
tar -xzf 2.87.tar.gz
cd bullet3-2.87/
mkdir build && cd build && cmake .. -DBUILD_EXTRAS=OFF -DBUILD_BULLET2_DEMOS=OFF -DBUILD_CPU_DEMOS=OFF -DBUILD_OPENGL3_DEMOS=OFF -DBUILD_UNIT_TESTS=OFF
sudo make install
cd ..

Download source code:

git clone https://github.com/martinRenou/ToonChess.git
cd ToonChess

Install ToonChess:

mkdir build && cd build && cmake ..
sudo make install

Run it!

ToonChess

Tests

Tests are written using GoogleTest, you can compile and run them using:

cmake -DTOONCHESS_BUILD_TESTS=ON ..
make
./toonchess_tests