Skip to content
- Reference
- Examples
- Python
A tiny text adventure engine
Rooms in a dictionary, an inventory list and a command parser, driven by a fixed list of commands so you can watch a whole playthrough.
pyPython20 minCodeDone
Back
Code
Inside: a 66-line program to run and change.
Already unlocked it? Sign in
Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.