Ahmad's City is an interactive desktop game developed using the Pygame library. This project was part of my journey learning Python libraries and understanding how games work under the hood—how objects move, how game logic is implemented, and how user interaction drives gameplay.
Gameplay:
- The player controls a hero character who can shoot bullets at approaching monsters.
- Each monster requires 10 hits to be defeated.
- If the hero touches a monster, the player loses points.
- A live score counter tracks the number of monsters defeated.
- The game blends coding logic with creativity, offering a fun and engaging experience.
This game showcases the practical application of core programming concepts such as loops, conditionals, classes, and event handling in Python. It features object movement, collision detection, and a real-time scoring system, all built using the Pygame library. Through this project, I explored the fundamentals of game development, combining logical thinking with creativity to bring interactive gameplay to life.
For code and more information about this game, you can go to GitHub by clicking Here.