Labs 5 – Dungeon & Rogue-like
Procedural Content Generation for Computer Games
Vojtěch Černý
cerny@gamedev.cuni.cz
Prerequisites
The Task
This homework has two parts, worth 6 points total:
Given: 24. 4. 2026
Deadline: 15. 5. 2026
As always, aim for at least GameJAM quality
Codebase
Start with the roguelike repo
There are two Gradle tasks (run by ./gradlew <task>)
Try running them (first run will fail!).
Variants
You should pick one of the following options:
1) write your own (non-trivial) generator
2) tweak Wave Function Collapse
Java or Kotlin:
Variant 1 – generate own dungeon
Forbidden methods
Using noise
Using cellular automata
Acceptable methods
Approaches from lecture 5:
Graph / Shape grammars (may be hard)
…
or anything creative, write me if you have an idea, if it’s non-trivial I will accept it
Variant 1 - How to
Variant 1 - Criteria
Variant 2 – tweak Wave Function Collapse
Variant 2 – tweak Wave Function Collapse (WFC)
world/worlds/WaveFunctionCollapsedWorld1, using
world/builders/wavefunctioncollapse/WFCAreaBuilder
Variant 2 - How to
Variant 2 - Criteria
Part 2 – The Task
You should implement a (simple) rogue-like/rogue-lite game.
Features you should aim for:
You should also use non-trivial PCG for one other component of the game:
Part 2 – Codebase
Continue from Part 1 – build your game on top of your dungeon generator.
You should create your own fork of the repository and work in reasonably small commits.
Both gradle tasks should still be the main approach:
Part 2 – Criteria
Playable game, with some amount of challenge and content – 2 pts
Additional PCG component – 1 pts
1 bonus point, if you add at least one of:
Bonus point
Get your own tileset
Howto:
Bonus points
Submission details
Questions / Problems
Q & A
Vojtěch Černý
cerny@gamedev.cuni.cz