1) Firstly we should retrieve our map from the map file
2) Then, we must check the map if it isn't fit our rules
- 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.
- The map must contain at least 1 exit, 1 collectible, and 1 starting position.
- If the map contains a duplicates characters (exit/start), you should display an error message.
- here is a exapmle for map