A 2d game that is similar to pacman
Compile the files and execute with the following command:
make && ./so_long <path_to_map>
You can pick any maps in the maps/ or you could just create your own map, for example:
make && ./so_long maps/map9.ber
Direction:
W = UP
A = LEFT
S = DOWN
D = RIGHT
MAP ATTRIBUTES:
1 = WALL
0 = WALKABLE PATH
C = COLLECTIBLE (COIN)
E = EXIT
P = PLAYER
N = ENEMY
1. in .ber format
2. map has to be in rectangle shape and cover with '1' (wall)
3. At least 1 'C' (coin) and 'E' (exit)
4. Only 1 'P' (Player)