Skip to content

A simple 2D game written in C language using 42-MLX Library

Notifications You must be signed in to change notification settings

AhmedAlfahal/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long

This is a 2D game designed in C using minilibX provided in 42curses.
To play this game u have to be in a macOS use the following commands.
make then ./so_long maps/42.ber Enjoy :)
you can Edit the Map as long as it respects the rules.

Rules of the map

• The map must be rectangular.
• The map must be closed/surrounded by walls
• there should be a valid path in the map.
• the map should at least have one exit, one collectible and one player. etherwise it will show an error.

Elements of the map

1 : Wall
0 : Empty space
E : Exit
P : Player
C : Coin

Demo

Demo

About

A simple 2D game written in C language using 42-MLX Library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published