42 project for a video-game
assets | ||
dev | ||
includes | ||
libtf | ||
mlx | ||
rooms | ||
src | ||
test_rooms | ||
.gitignore | ||
Makefile | ||
README.md |
so_long
this is a little video-game i had to make for 42 school. it uses the MinilibX library.
i spend way too much months on it but it's cool i think
compile and run
this project only works on linux (it may work on macOS too but you will need to manually add the MinilibX library for macOS).
- in your terminal, run
make -v
. if you have acommand not found
error or equivalent, you will need to installmake
. on ubuntu / debian, run:
$ sudo apt install make
- clone the repository and cd inside it:
$ git clone https://gitea.zaclys.com/frzysk/42_so_long
$ cd 42_so_long
- build the game:
$ make
- run the game:
$ ./so_long
play
- you control snas.
- use arrows, W/A/S/D or Z/Q/S/D to move.
- get ketchup.
- escape firsk.
there is a counter of your moves. try to finish the game with the less moves possible :)