Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhenix98/ant-wars
Topdown strategy game. Inspired by Tentacle Wars.
https://github.com/dhenix98/ant-wars
cpp11 game-2d sdl-game sdl2 strategy-game top-down-game
Last synced: about 1 month ago
JSON representation
Topdown strategy game. Inspired by Tentacle Wars.
- Host: GitHub
- URL: https://github.com/dhenix98/ant-wars
- Owner: Dhenix98
- License: other
- Created: 2024-05-02T13:47:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-05T11:14:31.000Z (8 months ago)
- Last Synced: 2024-10-12T16:02:05.799Z (2 months ago)
- Topics: cpp11, game-2d, sdl-game, sdl2, strategy-game, top-down-game
- Language: C++
- Homepage:
- Size: 3.96 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ant-Wars
This repository is heavily inspired by the game genre "Tentacle Wars", using SDL as a way to both study the SDL engine and the C++ language itself.## Requirements
* [SDL2](https://github.com/libsdl-org/SDL)
* [SDL2_image](https://github.com/libsdl-org/SDL_image)
* [SDL2_ttf](https://github.com/libsdl-org/SDL_ttf)
* [SDL2_mixer](https://github.com/libsdl-org/SDL_mixer)## Compilation
For UNIX platforms, is available a [Makefile](Makefile) to compile the game with the command:
```sh
make compile
```## Documentation
To generate documentation Doxygen is required ([Windows](https://www.doxygen.nl/manual/install.html#install_src_windows) and [Unix](https://www.doxygen.nl/manual/install.html#install_src_unix) links)
```sh
doxygen Doxyfile
```Alternatively there is option through makefile (still requires Doxygen)
```sh
make doc
```## Execution
To run the game, type the command in a terminal:
```sh
./Ant_Wars
```