CWars, an online multiplayer code controlled RTS game.
The initial goal of this project is to refresh my C-programming skills, but who knows if it may end up being something fun and enjoyable anyway.
In CWars, you do not directly control your units with your mouse and keyboard, but you do it via writing code.
To build the project from source code, you will need the following dependencies:
- libcmocka-dev: A unit testing framework for C.
- gcovr: A code coverage tool for C.
- cmake: A build system for C projects.
- gcc: A compiler for C programming language.
sudo apt install libcmocka-dev gcovr cmake gcc
How to build the project:
git clone git@github.com:jonathaneeckhout/cwars.git
cd cwars
mkdir build
cd build
cmake ..
How to run the test
cd build
ctest -v
How to generate coverage report
cd build
make gcov
How to run the server:
cd build
./bin/cwars_server
How to run the client:
cd build
./bin/cwars_client
This project is licensed under the MIT License.