So_Long is a 2D maze game. In the game, the player navigates through a maze, collects coins while avoiding obstacles. The goal is to collect all the coins and reach the exit.
- Maze navigation.
- Coin collection and scoring.
- Exiting the maze to complete the game.
- Simple and user-friendly interface.
- C compiler
- MinilibX library
-
Compile the game by running the following command:
make make bonus
-
After the compilation is complete, start the game by using the following command:
./so_long maps/map.ber
Replace maps/map.ber with the file path of the maze map you want to play.
-
While playing the game, you can move the player using the arrow keys on your keyboard. Your objective is to collect all the coins and reach the exit.
-
After completing the game, you will see your score and a success message on the screen.
-
test.sh and test_bonus.sh can test your so_long game with diffrent maps command:
./test.sh ./test_bonus.sh
For any bug reports or improvement suggestions, please open an Issue or submit a Pull Request.
This project is licensed under the MIT License.