/so_long

Primary LanguageC

so_long

Error :

- MAPS :

Must be rectangular (long > large) Check charaters : 0 is empty, 1 is wall, C is collectible, E for exit map, P for player position Maps must be surrounded by walls At least : 1 exit, one collectible, one starting position

- COMMANDS :

W, A, S, D to move the main character ESC must close the window and quit program cleanly Clicking on red cross on window frame must close the window and quit program cleanly

WRITE "Error\n" if any kind is encounttered in the file with explicit message of our choice