Skip to content
Articles
Article

My room generator passed every test and still locked players in

by Felix Helleckes dev.to

5 min read

Dash & Slash is a small one-hand roguelite I build in Flutter. Every room is generated: a 13 by 21 tile grid, a door at the top, the player spawning at the bottom, and a few mirrored "stamps" of walls and pits in between. Shortly after version 1.0.0 went live on Google Play, a room turned up where the door opened and the player could never reach it. The fix was three lines. The interesting part, …

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by