/42-so_long

My first game!! =DD

Primary LanguageC

42-so_long 🐰

image

Help the little bunny to collect some love and get back home safely! ❤️

How to compile

  1. Clone this repository on your terminal.
git clone https://github.com/julianamilson/42-so_long/
  1. Access 42-so_long repository on your computer and compile the program.
cd 42-so_long && make bonus

How to play

In order to play the game, you just have to put the pathway to the .ber file. Try this command:

./so_long_bonus assets/maps/12example_enemy.ber

There's more maps to try on assets/maps, but if you want to, make your own map to play!

Rules

  • You have to collect all hearts to be able to go back home 🏠

  • Avoid the foxes!! 🦊

Commands

Movements:

Press a to go to the left

Press w to go up

Press s to go down

Press d to go to the right

Exit the game:

Press ESC or the exit button