Skip to content

3ka1tz/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

So Long

This project has been created as part of the 42 curriculum by elopez-u.

Description

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.

Instructions

  1. Clone the repository:
git clone https://github.com/3ka1tz/so_long.git
  1. Change the working directory:
cd ~/so_long/
  1. Build the project:
make
  1. Run the generated executable:
./so_long <map_file>

For example, you could use maps/valid/labyrinth.ber map file.

Resources

https://github.com/42paris/minilibx-linux
https://harm-smits.github.io/42docs/libs/minilibx

About

Small 2D game with minilibx

Resources

Stars

Watchers

Forks

Contributors