42 project for a video-game
Find a file
2025-07-30 18:13:51 +02:00
assets change, fix, .gitignore * 2024-04-22 13:26:04 +02:00
dev feat: ultimate ketchup ending 2024-04-21 19:51:46 +02:00
includes feat: ultimate ketchup ending 2024-04-21 19:51:46 +02:00
libtf dev: remove *.a files 2024-04-23 00:28:00 +02:00
mlx dev: remove *.a files 2024-04-23 00:28:00 +02:00
rooms change: rooms/10.ber fix loophole 2024-04-21 20:09:29 +02:00
src change: remove quitting when pressing escape 2025-07-30 17:49:40 +02:00
test_rooms feat: levels finished except ending * 2024-04-20 12:35:12 +02:00
.gitignore change, fix, .gitignore * 2024-04-22 13:26:04 +02:00
Makefile change: improve Makefile 2024-04-23 00:07:40 +02:00
README.md add README.md 2025-07-30 18:13:51 +02:00

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).

  1. in your terminal, run make -v. if you have a command not found error or equivalent, you will need to install make. on ubuntu / debian, run:
$ sudo apt install make
  1. clone the repository and cd inside it:
$ git clone https://gitea.zaclys.com/frzysk/42_so_long
$ cd 42_so_long
  1. build the game:
$ make
  1. 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 :)