A 2D game written using MLX42 graphics library
The map can be composed of only these 5 characters:
0 for an empty space,
1 for a wall,
C for a collectible,
E for a map exit,
P for the player’s starting position.
And X for the enemy (Bonus part of the project).
To run the game, use following command in the terminal for so_long repository;
# terminal
make && ./so_long maps/map3.ber
You can also create new maps using "x.ber" file type and run them via changing file name in the terminal command.