https://github.com/ychaaibi/so_long
So Long - A 2D Maze Adventure Game 🎮
https://github.com/ychaaibi/so_long
1337school 2d 2d-controller 2d-game 2d-graphics game-development
Last synced: 3 months ago
JSON representation
So Long - A 2D Maze Adventure Game 🎮
- Host: GitHub
- URL: https://github.com/ychaaibi/so_long
- Owner: ychaaibi
- Created: 2024-01-11T18:16:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-13T10:22:55.000Z (over 1 year ago)
- Last Synced: 2025-04-11T21:57:09.046Z (6 months ago)
- Topics: 1337school, 2d, 2d-controller, 2d-game, 2d-graphics, game-development
- Language: C
- Homepage:
- Size: 1.04 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# So Long - A 2D Maze Adventure Game 🎮
[ Project Completion Date : 2022 - 02 - 10 ]![]()
## Project Overview 📋
Join the adventure in “So Long,” my own take on a 2D maze exploration game developed in C. In this project, the player take on the role of a character whose mission is to gather items throughout the maze and safely reach the exit, all while avoiding enemy patrols that add an extra layer of challenge.## Game Mechanics
- **Player Control:** Navigate your character with the W, A, S, and D keys, ensuring each move avoids the collision of walls.
- **Interactive Gameplay:** With every move, the total count is displayed in the shell, keeping track of the player’s progress.
- **Graphical View:** Designed with a top-down perspective, the game conveys a comprehensive view of the environment. 🌍## Graphics and User Interface
- **Smooth Window Management:** Built with the MiniLibX library, the game provides a seamless windowed experience that responds gracefully to typical desktop interactions. 🖥️
- **Graceful Termination:** Exiting the game is as simple as pressing the ESC key or clicking the window’s close button, thanks to thorough event handling. 🚪## Map and Challenge Design
- **Strategic Level Layouts:** Gameplay unfolds on maps composed of walls (1), collectibles ©, an exit (E), and empty spaces (0), necessitating strategic movement to complete the level.
- **Robust Map Validation:** Each map is thoroughly checked to ensure it is rectangular and enclosed by walls. Any map errors result in clean game termination with a detailed error message. 🚧## Enhanced Gaming Experience
- **Dynamic Threats:** The addition of enemy patrols requires players to think tactically as they move through the map, increasing the stakes and excitement. ⚔️
- **Sprite Animation:** Visual appeal is heightened with sprite animations, bringing the game’s characters and enemies to life. 🎭
- **On-Screen Movements Counter:** The number of movements is displayed directly in the game window, making for an immersive interface. 🔄## Project Conclusion 🎓
“So Long” is a showcase of my skills in creating engaging gameplay experiences, clever level design, and mastering the fundamental aspects of C’s graphical programming capabilities. This game was developed with the dual goals of challenging the player and demonstrating the potent capability of simple, well-executed code. 🚀🕹️