← All projects

Flames of Prometheus

JavaFX text-adventure structured around a full MVC architecture. Built for CS4431.

Problem

CS4431 coursework asked for a Java text-adventure structured around a full MVC architecture, so the pattern actually got applied rather than just described.

Role

Solo.

How it works

ZorkGUI.java is the JavaFX entry, with directional buttons, WASD keyboard input, a text field for typed commands, and a text area for room descriptions. ZorkULGame.java orchestrates game state. Core OO model splits into Room, Item, Character, NPC, Parser, Command, a CommandWord enum, and an Inventory using generics.

Multi-room map with NPC dialogue, puzzles that need spoken answers, hidden paths, pixel-art room images and a live minimap. Save and load goes through Java Serialization to savegame.ser. Custom annotations tag command metadata where it kept the code cleaner than manual bookkeeping.

Stack
Coursework Java 17+ JavaFX 25 MVC Serialization OOP GUI CS4431
Result

Complete with runnable JAR (zorkJAR.jar), run_zork.bat launcher, JUnit tests, README, and a two-minute demo video. AI usage declared for GUI layout guidance, pixel-art image generation, and narrative refinement.