Skip to content

elmarsan/Chess

Repository files navigation

Chess

3D version of classic game chess. Built with custom OpenGL engine.

Screenshots

Screenshot 1 Screenshot 2

Instructions

Pieces are moved using a drag-and-drop system. To start dragging a piece, use the left mouse button or A button (Xbox controller). When releasing the button, if the piece is over a valid square, it will move there; otherwise, it will return to its original position. Dragging can be canceled by pressing the right mouse button or B button (Xbox controller).

Press Escape to pause the game and access the settings menu.

The player using the keyboard and mouse moves the white pieces.
If a controller is connected, it controls Player 2 (black pieces). Player 2 can only move pieces; they cannot pause or change settings.
If no controller is connected, the mouse is used to move both players’ pieces.

Shortcuts

  • F11 — Toggle fullscreen
  • Alt + F4 — Close the game

Features

  • Physically Based Rendering
  • HDR rendering
  • Shadow mapping
  • Game hot code reloading
  • XInput gamepad support

Build

You need Microsoft C/C++ Build Tools. Make sure the MSVC compiler is accessible from the command line. You can verify by running:

cl
  • Debug build: run build_debug.bat
  • Release build: run build_release.bat

The game expects the following folders:

  • bin: place the .exe and required .dll files here
  • data: contains all asset folders (models, textures, audio, etc.)

Credits

References