This project is a chess game with network code, implemented in C++ using the SFML framework.
The project uses the following libraries and tools:
- SFML: A simple multimedia library for C++
- ImGui: Library for creating graphical interfaces
- ImGui-SFML: Integration of ImGui with SFML
- SQLite3: Embedded SQL database
- nlohmann-json: Library for working with JSON in C++
Prerequisites
Before you begin installation, make sure you have the following components installed:
- CMake
- vcpkg
- SFML
- ImGui
- ImGui-SFML
- SQLite3
- nlohmann-json
- Clone the repository:
git clone https://github.com/Agenteec/ChessSFML.git
- Go to the project directory:
cd ChessSFML
- Create a text file 'vcpkg.cmake' with the following content:
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
include("path/to/vcpkg/scripts/buildsystems/vcpkg.cmake")
elseif(CMAKE_SYSTEM_NAME MATCHES "Windows")
include("path/to/vcpkg/scripts/buildsystems/vcpkg.cmake")
endif()
- Create a build directory and go to it:
mkdir build
cd build
- Generate the build files using CMake:
cmake ..