The latest update to the C64 BASIC dungeon crawler shifts the gameplay from a single-map 'pick up and play' experience to a multi-level progression system. In previous versions, the game ended immediately upon finding a single item. The new architecture supports five distinct levels, where the player's character now persists across maps. This means that hit points, gold, keys, and magic resources are maintained as the player moves between levels, creating a sense of continuous development rather than isolated sessions.

To achieve this persistence, the developer decoupled the game's initialization from its map generation. The code is now split into two primary routines: `INITPLAYER`, which handles character stats and runs only once at the start of a new game, and `BUILDLEVEL`, which handles map generation and runs every time a player descends a set of stairs. This separation ensures that when a new level is generated, the player's existing attributes remain intact. Progression is gated by a 'chalice' mechanic: players must collect a specific number of chalices before the stairs become accessible. The number of required chalices scales with the level using the formula `CL=INT((LV+1)/2)`, meaning levels 1 and 2 require one chalice, levels 3 and 4 require two, and level 5 requires three.

Character growth is now automated through a leveling system. Upon reaching a new level, a character gains hit points equal to half of their constitution. Additionally, the game provides alternating stat boosts: strength increases on even levels and dexterity on odd levels. These changes automatically trigger a recalculation of the character's Armor Class, which is derived from their dexterity. The game also introduces a magic system where potions provide a resource capped at 100 points, intended for future ranged attacks. However, due to the technical constraints of the Commodore 64's status line—which limits the display to 31 characters—the developers had to reduce the spacing between counters to fit the new magic and level variables into the UI. While the progression mechanics are functional, the current version still lacks a dynamic difficulty ramp, as enemy counts remain constant across all levels.

A Commodore 64 status line showing 50 magic and level 1 with stairs in the bottom right corner
The game's status line displays the new magic and level variables alongside the level layout.retrogamecoders.com

This image illustrates the UI layout where magic and level variables are displayed on the status line.

A victory screen showing the text YOU WIN with a gold total and LEVEL 5
The final win panel reached after completing the five-level progression system.retrogamecoders.com

This screenshot shows the end state of the five-level progression system described in the article.