So_Long is a simple 2D game project implemented in C programming language using the MiniLibX graphical library. The game presents a basic game loop where the player navigates a character through a maze-like environment, collecting items while avoiding obstacles to reach the goal.
Table of Contents: Introduction Features Installation Usage Controls Gameplay Contributing License
So_Long is a project developed as part of the 42 school curriculum. It aims to introduce students to the basics of game development and graphics programming using C and the MiniLibX library.
Simple 2D graphics rendering. Maze-like environment generation. Character movement and collision detection. Item collection and goal-reaching mechanics. 3. Installation To install and run So_Long on your system, follow these steps:
Clone the repository to your local machine: bash
git clone [repository_url]
Navigate to the project directory:
cd so_long
Compile the project using the provided Makefile:
make
Run the executable:
./so_long [map_file]
Replace [map_file] with the path to the map file you want to load.
The game loads the map specified as a command-line argument. Navigate the character using the arrow keys to collect items and reach the goal. Press ESC key to exit the game.
Arrow Keys: Move the character up, down, left, or right. ESC: Exit the game.
Navigate through the maze-like environment, collect items represented by specific symbols, and reach the goal indicated on the map. Avoid obstacles and enemies that hinder your progress. The game ends when the character reaches the goal or collides with an obstacle.
Contributions to So_Long are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.