Skip to content

cantaskin/so_long42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎮 So_Long 🎮

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 

so what's our rules?

The map can be composed of only these 5 characters:

  • 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

map

this is the instruction how we init map

so_long

and these are some map examples from game

map1

here is a little map

map2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published