Skip to content

Latest commit

 

History

History
executable file
·
30 lines (21 loc) · 836 Bytes

README.md

File metadata and controls

executable file
·
30 lines (21 loc) · 836 Bytes

so_long

First graphical project

So long is one of 42 common core's projects which gives you the basics in the following skills:

  • window management
  • event management
  • choice of colors and textures.

It uses the MLX 42 library which includes basic tools to open a window, to create images and to manage keyboard and mouse events.

How does So_long works ?

So_long:

The game includes enemie(s) which only move(s) from LEFT to RIGHT. If you end up crossing paths with an enemy, you will lose !

so_long

My Makefile rules

  make all
  • It compiles the simple game

How to start my So_long

After having compiled the program simply type the following command and put the path to your desired map

  ./so_long _PATH_TO_MAP_