This is a 42 School's project. The project consists in creating a little 2D game with the MiniLibX, the school's graphic library. I decided to use some classic rpg sprites which kinda gives "The legend of Zelda" vibes.
In order to complete the game, players must avoid all enemies and acquire all of the collectibles on the map before taking the exit. ennemies can be vanquished by using your sword.
./so_long [MAP.ber]
HOW TO PLAY | |
---|---|
Z | Move up โฌ๏ธ |
Q | Move left โฌ ๏ธ |
S | Move down โฌ๏ธ |
D | Move right โก๏ธ |
F | Use your sword โ๏ธ |
ESC | Close the game โ |
To be valid, a map must meet the following conditions :
- be rectangular
- surrounded by walls
- contain only one starting position
- contain only one exit door
- contain at least one collectible
- Have a valid path