This is a simple chess game built using SDL2 and CMake for compilation. It allows two players to play chess on a graphical interface with basic features like piece movement, board setup, and game logic.
- CMake (v3.10 or higher)
- SDL2 (v2.30.0 or higher)
- A C++ compiler (e.g., GCC, Clang)
-
SDL2:
- On Ubuntu:
sudo apt-get install libsdl2-dev
- On macOS (using Homebrew):
brew install sdl2
- On Windows, you can download SDL2 from the SDL2 website and follow the installation instructions.
- On Ubuntu:
-
CMake:
- On Ubuntu:
sudo apt-get install cmake
- On macOS:
brew install cmake
- On Windows, you can download and install CMake from the official website.
- On Ubuntu:
- Clone the repository:
git clone https://github.com/PierceProvias/Chess.git cd chess
- Make build folder
mkdir build && cd build
- Build project
cmake -S .. -B . make
- Play chess
./chess