cave.exp is a roguelite written in C, created for Laboratórios de Algoritmia 1. It features procedural cave-like maps, unique mob behaviors, and, unlike other projects, a cool lighting system that brings life to the game world.
- Randomly generated caves for every game.
- Explore a unique layout every time.
- Every map hides a key to the next level.
- Mobs with unique behaviors:
- Brave ones chase you head-on.
- Cowards run solo but attack in groups.
- Clever mobs set traps and call reinforcements.
- See only what’s in your line of sight.
- Environmental lighting
- Language: C
- Libraries:
ncurses
,math
- OS: Linux
This project wasn’t just about meeting the requirements. The lighting system set it apart, adding depth to the gameplay. Building the game was a fun dive into procedural generation and mob AI.
- Clone the repository and extract it.
- Run
make
(makefile included). - Execute the game:
./cave.exp
.
Made for academic purposes. Explore, play, and learn!