Skip to content

benmaia/42_So_Long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42_So_Long


https://user-images.githubusercontent.com/76601369/110706242-77158d00-81ef-11eb-8085-5da6f0988553.jpg

And thanks for all the fish



This project is a very small 2D game. Its purpose is to make you work with textures, sprites and some other very basic gameplay elements!

To use it:

[email protected]:benmaia/42_So_Long.git
cd so_long

To run, use make to compile it and create the ./so_long, and pass the map as arguments, you can add your own map, or edit the existent one!

make && ./so_long map2.ber

If you just want to test it you can just run:

make exe

Make sure the map is covered by walls in it's sides, the map is rectangular, it cointains at least 1 C (collectible), 1 E (exit) and 1 P (player starting position)! If you want to add enemies you can add an X to the map!

To sort the numbers, we only had 2 stacks (a and b) and 4 types of movements, swap, push, rotate, and reverse rotate:



So_Long OK ✅ So_Long Bonus OK ✅


Grade: 125%