---
title: "warren: Terminal roguelike game in Lua | VulCode"
description: "warren is a roguelike with persistent progression, written in Lua and driven from the terminal."
url: "https://vulcode.com/en/portfolio/other/warren"
lang: "en"
---

[Other](https://vulcode.com/en/portfolio/other)

# warren

Terminal roguelike game in Lua

A roguelike game written in Lua and played in the terminal. Every run is generated afresh, and part of your progress stays with you between runs.

## 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.

## What we did

- 01 A game written in Lua, driven from the terminal

- 02 Runs generated from a seed

- 03 Classes and mutators in the generated runs

- 04 A "legacy" system that carries progress between runs

- 05 A headless mode for running the game with no interface

- 06 Determinism checks: same seed, same run

## Related projects

- [**kite** A Scheme interpreter written in Swift, with an interactive REPL console and a runner for .scm files. It supports continuations, macros and exact arithmetic on arbitrarily large numbers.](https://vulcode.com/en/portfolio/other/kite)

- [**cinnamon-tweaks** Two small Python programs with GTK windows for the Cinnamon desktop: one for custom keyboard shortcuts, one for panel settings. For people who change these settings often and do not want to dig for them in Settings.](https://vulcode.com/en/portfolio/other/cinnamon-tweaks)

- [**pixel-platformer** A 2D pixel-art platformer played in the browser. It has levels, enemies and collectibles, and the character's movement rests on carefully tuned jump physics and collisions.](https://vulcode.com/en/portfolio/other/pixel-platformer)

## Describe your project.

A free quote comes back within an hour during working hours.

### Rather skip the form?

Ask in the chat or write to us directly.

Open the chat

- **Email**: [hello@vulcode.com](mailto:hello@vulcode.com)
- **Phone**: [+48 576 043 920](tel:+48576043920)
- **Discord**: [discord.gg/vulcode](https://discord.gg/vulcode)

## Tell us what you want to build.

A free quote comes back within an hour during working hours. You talk to the person who writes the code.

[Free quote](https://vulcode.com/en/quote) [Free consultation](https://vulcode.com/en/consultation)

- [hello@vulcode.com](mailto:hello@vulcode.com)

- [+48 576 043 920](tel:+48576043920)

- [discord.gg/vulcode](https://discord.gg/vulcode)
