This project has been created as part of the 42 curriculum by elopez-u.
This project is a small 2D game. Its purpose is to have you work with textures, sprites, and other basic gameplay elements.
The player’s goal is to collect all collectibles on the map and then escape by choosing the shortest possible route.
Use WASD or arrow keys to move the character. At every move, the current number of movements will be displayed in the shell.
- Clone the repository:
git clone https://github.com/3ka1tz/so_long.git- Change the working directory:
cd ~/so_long/- Build the project:
make- Run the generated executable:
./so_long <map_file>For example, you could use maps/valid/labyrinth.ber map file.
https://github.com/42paris/minilibx-linux
https://harm-smits.github.io/42docs/libs/minilibx