This project is a small 2D game with minilibx. You'll learn about textures, sprites and tiles
🚨 Please check that you have mlxlib installed in your machine.
$ make$ ./so_long [MAP_FILE.ber]Only map files with extension .ber are available. Map file examples are available in the maps/ directory.
$ ./so_long maps/map.berRun the code to use all the features of the game.
The player’s goal is to collect all collectibles present on the map then escape with minimal movement.
| KEYBOARD | ACTION |
|---|---|
W, ↑ |
Move up |
S, ↓ |
Move down |
A, ← |
Move left |
D, → |
Move right |
ESC, ⎋ |
Close the game window |
PS: The game is only configured for macOS :/ , since at 42 we work mostly with Apple machines.

