Skip to content

ecyk/chess-3d

Repository files navigation

chess-3d

A simple 3d chess game.

  • U to undo last move
  • R to restart game
  • C to reset camera angle
  • F to toggle fullscreen

alt text

Board and piece models are taken from here (CC0).

Building

git clone https://github.com/ecyk/chess-3d.git &&
cd chess-3d &&
mkdir build &&
cd build &&
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .. &&
make

GLFW and GLM libraries must be available on your system. They can be easily installed using vcpkg. Then, add the following line to your cmake command:

-DCMAKE_TOOLCHAIN_FILE=$VCPKG_DIR/scripts/buildsystems/vcpkg.cmake

Resources