Back to AI game news
AI game news

Dungeon Crawler SMS v1.0 moves level design into data and tests it pixel for pixel

By GameSlash

The Claude-built Sega Master System project adds a mine level, publishes its source, and shows how to test a new map without editing the C engine.

On November 27, developer haroldo-ok released Dungeon Crawler SMS v1.0.0 for the Sega Master System. This update to the first-person dungeon crawler built with Claude adds The Mines and moves maps, monsters, items and events into one Python data file. The ROM doubles from 512 KiB to 1 MiB.

First-person view through the corridors of The Mines in Dungeon Crawler SMS
Game footage by haroldo-ok / itch.io — The Mines, the new level between The Crypt and The Catacombs.

A test map exercises the whole pipeline

The open-source project uses a generator to turn level data into tables for the engine. A test adds a rooftop garden with a merchant, a weapon and a monster through data alone. It then builds a ROM, walks through the new entrance, buys the weapon and compares the emulator output against a reference renderer pixel for pixel.

A first-person battle against skeletons in The Keep
Game footage by haroldo-ok / itch.io — Turn-based combat in The Keep.

Check whether a map can be beaten before building a ROM

The project’s testing notes describe how `make check` catches unreachable rooms, invalid stairs and overflowing dialogue. Its balance script simulates 3,000 runs per play style. In the developer’s v1.0.0 tests, reckless runs with purchased equipment won 91% of the time, and reckless runs without it won 9%. The source and downloadable ROM are available separately.

Related on GameSlash: C64 Dev Machine’s colour-cycling tools for retro games.

View source