About the project
warren is a roguelike with persistent progression, written in Lua and driven from the terminal. It has generated runs, classes and mutators (gameplay modifiers), and a "legacy" system that carries progress from one run to the next. The game also has a headless mode (a run with no interface, handy for automated tests) and determinism checks, which confirm that the same seed always produces the same run.
The challenge
A game with generated runs must be both random and deterministic: the same seed (the number the random generator starts from) must produce the same run. Without that you cannot test it or compare results fairly.