First graphical project using the MLX42 library.
The so_long project is the first graphical project of the 42 Common Core.
It introduces the basics of: "Window management" "Event management (keyboard and mouse)" "Color and texture handling"
The project uses the MLX42 library, which provides simple tools for window creation, image rendering, and event handling.
- Display a 2D tile-based map with walls, collectibles, player, and exit.
- Simple enemy AI: enemies move left to right.
- Collision detection: if the player meets an enemy → Game Over.
- Map parsing and validation.
- Keyboard controls for player movement.
Clone the repository and compile:
git clone https://github.com/hanmpark/so_long.git
cd so_long
makeRun the game with a valid map file:
./so_long path/to/map.ber
