Skip to content

jonathaneeckhout/cwars

Repository files navigation

build latest codecov

CWars

CWars, an online multiplayer code controlled RTS game.

Table of Contents

Introduction

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.

Building

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 ..

Running Tests

How to run the test

cd build
ctest -v

How to generate coverage report

cd build
make gcov

Running the Project

How to run the server:

cd build
./bin/cwars_server

How to run the client:

cd build
./bin/cwars_client

Contributing

License

This project is licensed under the MIT License.

About

Simple multiplayer RTS game written in C

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published