1. Space Game: Galactic Defender
This space shooter leverages advanced OOP concepts to manage a dynamic environment. I utilized ArrayLists to handle a varying number of active laser and enemy objects on screen. Each enemy is an instance of a class with its own instance variables for health and speed. The game uses a constructor to initialize player stats and implements collision detection logic to trigger methods that handle damage and power-up collection.
View Source Code