36 lines
732 B
Markdown
36 lines
732 B
Markdown
# Arena Survival Tournament
|
|
|
|
This is one of my first game prototype.
|
|
It's fully coded in C with SDL2 libs.
|
|
|
|
## Functions
|
|
|
|
The game can do following:
|
|
- Generate random maps level
|
|
- Control a simple IA
|
|
- Manage gold resources
|
|
- Players movements
|
|
- Bad code practice
|
|
|
|
## Compiling
|
|
|
|
Before compiling, you need to install both build suite (GCC/MSVC) with CMake and SDL2 libs:
|
|
|
|
```shell
|
|
apt update
|
|
apt install build-essential cmake libsdl2-dev libsdl2-image-dev
|
|
```
|
|
|
|
Clone the repo with submodules updated and launch cmake to prepare compile:
|
|
|
|
```shell
|
|
cd AST
|
|
mkdir build && cd build
|
|
cp -R ../data .
|
|
cmake ..
|
|
make
|
|
```
|
|
|
|
## Running
|
|
|
|
Simply run the program with `data` folder (required) and `logs` folder (optional) or use the launch script. |