Checkers-online
Downloadable binaries are located as artifacts at according builds:
Checkers-online is a simple client-server desktop checkers written on C with SDL2.0
Loading screen | Game screen |
---|---|
Installation
You can try to download and launch build for your OS from the latest release.
In order to compile and build from sources, you need to install SDL2.0 and CMake. Client and Server compiles separately:
cmake -S Client -B Client/build -DCMAKE_BUILD_TYPE=Release
cmake --build Client/build
cmake -S Server -B Server/build -DCMAKE_BUILD_TYPE=Release
cmake --build Server/build
On Windows you need to put SDL2 sources to Client/extern/SDL2-2.0.20
Launching
- In order to launch server you need to specify port for it to run on by adding
-p PORT_NUMBER
command line arguments. Default value are: port - 2510. You can run Server in debug mode, to do so add--info
.
Example:$ ./Server --info -p 2510
- In order to launch client app you need to specify host ip (
-h
key) and port (-p
key). Default values are: host - 127.0.0.1, port - 2510.
Example:$ ./Client -h 127.0.0.1 -p 2510