So-long is a 42 school project in which you must create a little 2d game using the MiniLibX, a graphical library.
You can use make in the root folder of the project to create the executable :
make
Then launch the program by using :
./so_long
The program work by generating a map from a .ber file. Here the elements which composes the map's file.
- 1 - Wall (The map must be surrounded by walls)
- 0 - Ground
- P - Player (Maximum one allowed)
- E - Exit (Maximum one allowed)
- C - Collectibles (Must collect all the collectibles before exiting)
- T - Traps (Animated; walking on it results in death)

After create your own .ber map, or not, you can launch the program. You can select a map with 1-2-3 or use 4 to use your own map.

Now, you can start playing ! Use your keyboard arrows to move, collect all the objects, avoid the traps, and make your escape!