This project is a small 2D game designed to help you work with textures, sprites, and basic gameplay elements. The goal is to create a 2D game using the MiniLibX library, focusing on window management, event handling, colors, textures and animations .
And Thanks for All The Dolphins :
The code in this repository may appear unconventional or different from typical coding practices. This is intentional and follows the coding standards and norms set by my school.
You play as a brave samurai facing off against dolphins. Your mission: defeat the dolphins in combat, collect all the coins scattered across the battleground, and make a daring escape before a giant wave hits.
Map components: walls, collectibles, free space, exit, starting position.
Map composed of 0
, 1
, C
, E
, P
characters.
Rectangular map enclosed by walls.
Validate map for duplicates, valid path, and completeness.
Other characters will be added in bonus to represent the enemy and traps .
Key | Action |
---|---|
W, | Move up |
S, | Move down |
A, | Move left |
D, | Move right |
↑, | Attack up |
↓, | Attack down |
← | Attack left |
→, | Attack right |
ESC, | Leave The Game |
This project was done on macOS Catalina (Version 10.15.7), OpenGL and AppKit is required .
git clone https://github.com/3IMAD69/so_long.git
cd so_long
make
./so_long mandatory/maps/map1337.ber
For Bonus
make bonus
./so_long_bonus bonus/maps/map1337.ber