https://github.com/bima42/so_long
https://github.com/bima42/so_long
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bima42/so_long
- Owner: Bima42
- Created: 2021-11-19T15:02:14.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-17T17:56:26.000Z (over 4 years ago)
- Last Synced: 2025-01-20T15:32:11.334Z (over 1 year ago)
- Language: C
- Size: 2.16 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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