A simple 2D game project developed as part of the 42 curriculum. The goal is to move a character through a maze to collect items and reach an exit while avoiding enemies.
- 2D grid-based movement
- Player controls using keyboard inputs
- Basic enemy AI
- Collectible items
- Victory and game-over conditions
git clone https://github.com/ael-ayoub/so_long.git
cd so_long
git clone https://github.com/42Paris/minilibx-linux.git
make./so_long map.berUse WASD keys to move the player.
The game uses .ber files for level maps. Example:
111111
1P0C1E
111111
1= WallP= Player Start0= Empty SpaceC= CollectibleE= Exit
- MinilibX
- GCC compiler
- Make
img/
include/
libft/
Makefile
maps/
so_bonus.c
so_long.c
src/
src_bonus/
- Additional animations
- Improved enemy AI
- More advanced interactions
- Extra game modes
- Improve enemy AI
- Add more levels
- Enhance visuals with sprites
- Expand bonus features
This project is licensed under the MIT License.
Thanks to the 42 community for guidance and resources.
Project developed as part of the 42 curriculum.