Small 2D game with basic gameplay.
-
The player’s have to collect all collectibles on the map without being caught by the enemies, then he can escape by the door.
-
The player move with WASD and close the game by pressing ESC.
-
Components of map:
- Player - 'P'
- Exit - 'E'
- Wall - '1'
- Free space - '0'
- Enemy - 'C' (bonus part)
-
Some map examples are stored in
/maps
folder. Feel free to change them (.ber
format is required)!
-
To compile the program :
$ make
With bonus :
$ make bonus
-
To start the game :
$ ./so_long [path_to_valid_map]