Shushpancheak / strategy-game

A project with implementations of various design patterns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The main aim is to implement various programming design patterns.

Building

This game uses SFML. So you should download it and somehow link the project to a library. Of course, you also should have cmake of the latest version installed.

Linux:

# Main prerequisite is having apt servers with SFML v. 2.5+, or else it won't build.
sudo apt-get install libsfml-dev:2.5

# Get the code and create the makefile 
git clone https://github.com/Shushpancheak/Strategy-Game --recursive
cd Strategy-Game
mkdir build
cd build
cmake ..

# Compile
make

# Run
cd ..
./Strategy-Game

Windows:

Use VS 2017 to open this CMake project. Make sure to set SFML_DIR to the built SFML library, where *.cmake files are located in CMakeLists.txt.

Building docs

By default, CMake will automatically generate docs upon build, but you can turn it off by providing -DBUILD_DOC=OFF option.

You can generate docs by yourself, using

doxygen

Your docs will be generated in docs/ folder.

Used resources

Tileset: Sci-fi RTS (120+ sprites) by Kenney.nl

About

A project with implementations of various design patterns


Languages

Language:C++ 78.0%Language:CMake 22.0%