archived
Project Ellen
Top-down 2D Alien-themed game in Java.
Project Ellen is a top-down 2D game built on TUKE's gamelib framework, written between September and December 2025. It has five scenarios, from a small pickup test to a full campaign with dialogue, a reactor that can overheat and a countdown. The game code is about 86 classes.
The object model avoids a deep inheritance tree. Whatever an actor can do beyond rendering is a small interface it opts into: Movable, Alive, Armed, Keeper, Usable, Collectible, Openable. Behaviours and actions are objects, so the same Move drives the player and an alien, and new enemy AI is composed from existing pieces.
The framework supplies the scene, the action scheduler and a message bus. On top of that bus the game defines its own topics, such as a door opening or a ventilator being repaired. An actor publishes one when something happens and a scenario subscribes, so a scenario reads as a list of rules of the form when X happens, do Y, and no actor needs a reference to the level. The project compiles with -Xlint:all -Werror and has no automated tests; it was checked by playing the scenarios.