Roguelikes and roguelites with procedural runs and progression. Run structure (floors, biomes, boss), procedural levels with seeds, permadeath and meta progression, items and synergies, choosing upgrades, turn-based or real-time variants, enemy variety by depth, difficulty and run length, daily seeded runs, run history, and a starter plan from the procgen, loot, progression, combat and AI modul...
Download skill (.zip) Files on GitHubRoguelike development
Core: each run is new; you die, learn, and go again with more knowledge (and maybe meta upgrades).
Starter template
A playable starter for the game-scaffolding template is in assets/starter/. Seeded floors of rooms and corridors (always connected), turn-based moves where enemies act after you, bump attacks, field of view with remembered tiles, potions, swords, armor, XP and level-ups, stairs, and a win on floor 5. Share a run with ?seed=.
python3 <game-scaffolding>/scripts/scaffold.py my-game --title "My Game" --starter <this skill>/assets/starter
Controls: Arrows/WASD; Q waits; H drinks a potion. Touch: tap beside the hero (hold to keep walking). Esc pauses. All numbers to tune are in src/config.js; the gameplay is in src/scenes/play.js.
A bot reached the stairs on all five floors.
Run structure
Title → (meta upgrades) → floor 1 … N (each: generate → explore/fight → find exit) → boss → victory / death → run summary. A run lasts 10–30 minutes on the web.
Growing the starter (tested modules)
- Floors: procedural-generation
dungeon()orcaves()with a per-run seed (?seed=for sharing,dailySeed()for dailies); validate connectivity; start and exit far apart. - Movement: real-time (
topDown) or turn-based on a grid (GridMover; enemies act after each player move). - Enemies by depth (loot-system weighted tables with
minLevel= floor), AI with enemy-ai FSMs, paths with pathfinding. - Items: loot-system drops, power-up-system for temporary effects, synergies (items that change how others work) are where the fun is.
- Level-ups with “choose 1 of 3” upgrades (level-progression
SkillTree-style perks, or simple weighted picks). - Meta progression (roguelite): currency kept on death, permanent unlocks that add options (new items in the pool, characters) more than raw power. Save with game-save-migration.
Design
- Death must feel fair and informative: show what killed you, the seed, and run stats.
- Early floors teach; difficulty ramps per floor (difficulty-scaling
steps). - Variety from combinations, not just more content: few enemies × many behaviors × items that interact.
- Seeds make bugs reproducible; log them.
Turn-based specifics
Energy/speed system for who acts next, field of view (shadowcasting or pathfinding lineOfSight on a grid), a message log,
and keyboard + tap-to-move (path to the tapped tile, stop when an enemy appears).
Pitfalls
Runs too long for a browser session, unwinnable generated floors (validate), “useless” item picks, meta grind that makes skill irrelevant, and no run summary.