Skip to main content
Every game accepts 'easy', 'medium', or 'hard'. Calling an export without arguments uses the medium preset.
You can also use a table to choose a preset and override options.

Presets

Supported options

Numeric game options are clamped to their safe ranges. timeout is always milliseconds and has a minimum of 5000 ms.

Timeout guidance

Terminal uses a 10-second table refresh, a 60-second game limit, and a 61-second outer timeout by default. Keep timeout slightly longer than timeLimit if you override both.

Compact layout

Skillbar, Sequence, Lockpick, and Pattern accept compact = true. This removes surrounding chrome and secondary information while preserving the gameplay controls and result contract.