# How to Make a Dungeon Crawler (Roguelike) in Scratch

> Randomize room layouts, spawn treasure chests and monsters, and scale difficulty floor by floor.

How to Make a Dungeon Crawler (Roguelike) in Scratch — Randomize room layouts, spawn treasure chests and monsters, and scale difficulty floor by floor.

## Core approach

Combine randomized room selection, HP/Attack upgrade variables, and permadeath restart for endless replayability.

- Offer 2 random upgrade choices after clearing each floor.
- Keep rooms compact so combat stays tense and readable.
- Reset upgrades cleanly on every new run.

## Pro tip & next steps

Use a list to track cleared rooms so defeated enemies stay cleared.

- [All Project Tutorials](/en/projects/): Browse more English guides in this section.
- [Scratch Block Dictionary](/en/dictionary/): Look up any Scratch 3.0 block with examples.

Updated: 2026-11-23
Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/)
Japanese Edition: https://scratch.gmnavi.jp/projects/roguelike/

[Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)
