Project 1
Developed an interactive 2D arcade-style game, "Blastanator," where players control a spaceship to shoot down UFOs while avoiding collisions.
The game includes mechanics such as:
Object movement: Utilized real-time mouse clicks to control the spaceship's horizontal movements and a key press to launch laser blasts.
Collision detection: Implemented logic to detect collisions between the spaceship, UFOs, and laser blasts using distance calculation.
Scoring system: Designed a scoring mechanism where players win by reaching 20 points and lose by colliding with a UFO.
Graphical interface: Created interactive visual elements like spaceship, UFO, laser blasts, and background using the graphics.py library.
Event-driven gameplay: Implemented real-time game actions like shooting and UFO spawning using event handling for mouse and keyboard inputs.