Skip to content

aliciamurma/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long

Mandatory

amurcia-'s 42 so_long Score

Objective: Create a basic 2D game in which a player has to recolect all the objects and exit.

  • The player should be able to move in these 4 directions: up, down, left, right. You must use the W, A, S and D.
  • 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 be closed/surrounded by walls.
  • Bonus

  • Make the player lose when they touch an enemy patrol.
  • Add some sprite animation.
  • Display the movement count directly on screen instead of writing it in the shell.
  • Instruccions

    Compile code

    make

    Execute the game

    ./so_long maps/[map].ber

    Compile bonus code

    make bonus

    Execute the bonus game

    ./so_long bonus/maps/[map].ber

    About

    No description, website, or topics provided.

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

     
     
     

    Contributors