Snakes and Ladders (ular tangga) CLI based game written in c, with features like : Map, teleports, skills, buffs, turn based with undo turn, load configuration from file.
For further information, please check this specification
- Download or clone this repository to your computer
- Open main.exe
or you can build yourself with these steps
- Download or clone this repository to your computer
- Open the root directory using terminal
- Use this command
gcc ./src/adt/mesinkata/mesinkata.c ./src/adt/mesinkata/mesinkar.c ./src/functions.c ./src/main.c ./src/adt/map/map.c ./src/adt/list/listlinier.c ./src/adt/stack/stack.c -o main
- Open main.exe
At the beginning of the game, the game asked for a configuration file, there are already 4 map configurations ready to use :
- small.txt
- medium.txt
- large.txt
- extralarge.txt
After you input your desired player names, the game will began, here are the commands available
- ROLL
- MAP
- INSPECT
- SKILL
- BUFF
- UNDO
- ENDTURN
Each command details are in this (bahasa indonesia) specification