Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ychaaibi/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. 🚀🕹️

About

So Long - A 2D Maze Adventure Game 🎮

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published