Skip to content

Kelho0812/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

So_Long

Description: So_Long is a simple 2D game written in C using the MinilibX graphics library. The game features a player-controlled character navigating through a maze, collecting items, and avoiding obstacles. The goal is to reach the exit while scoring points.

Features:

  • 2D graphics and basic game mechanics.
  • Player movement, item collection, and collision detection.

Dependencies:

  • MinilibX graphics library.

How to Play:

  1. Clone the repository: git clone https://github.com/Kelho0812/so_long.git
  2. Navigate to the project directory: cd so_long
  3. Compile the game: make
  4. Run the game: ./so_long maps/map.ber

Controls:

  • W/A/S/D keys to move the player.
  • Collect all items and reach the exit to win.
  • Avoid collisions with obstacles.

Additional Notes:

  • The game is part of the 42Network Curriculum. and serves as an introduction to basic game development concepts using C and the MinilibX library.
  • Feel free to explore and modify the code for educational purposes.

Contributing: Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License: This project is licensed under the MIT License.

Acknowledgments: Thanks to the MinilibX library developers and contributors.

Have fun playing So_Long!

About

Repository for all the code written for so_long, a project of 42 Common Core.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors