test plan sprint 4 - UQcsse3200/2026-studio-4 GitHub Wiki

Save file system added tests:

Save and Resume — savefile2

RunSaveAdapterTest

Test Purpose Expected Result
captureIncludesRoomPositionAndRunTimerData Capture a player at (12.5, 8.25) with saved run/dungeon time. The room ID, exact position, 95-second run time and dungeon time entries are captured.
restorePlayerRestoresPlayerStatsAndRunTimerData Restore saved gold, health and timer values. Gold becomes 84, health 45, run time 80 seconds and Dungeon One time 55 seconds.

RunSaveStateTest

Test Purpose Expected Result
storesAndReturnsCurrentRoomId Set a room ID. Reading returns that ID.
returnsTheMostRecentlySetRoomId Set two room IDs successively. Reading returns the second ID.
throwsWhenNoCurrentRoomHasBeenSet Read immediately after reset. Throws IllegalStateException.
resetClearsTheCurrentRoomId Set an ID, reset, then read. Throws IllegalStateException.

Achievements tested using : Test Plan

Added UI

Run the game and listen the music, then after splash screen enjoy the intro sound and screen then press space to go to main menu screen and start your game (find new layout)