Description
Gaiman is a small programming language and text adventure game engine for writing storytelling games. This site is its online playground. You write Gaiman code in an editor, and the page shows a preview of the game's text output as you work. Alongside the preview you can inspect the parsed syntax tree, the JavaScript the program produces and the full output. The grammar is written as a PEG grammar and the editor has CodeMirror syntax support. You can choose a colour theme, load an example, reset the editor, and download your code. Nothing has to be installed, because the playground runs in the browser. The source code is public on GitHub, and the copyright notice on the page covers the years 2021 to 2024. The playground is a demonstration of the language rather than a finished game.…
Highlights
- Write Gaiman code in a browser playground
- Live preview of the text adventure output
- Inspect the syntax tree and generated JavaScript
- Examples, themes and code download built in
- Source code is public on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Gaiman.
People also visit

ReignsAgent
Creator, simulation reviewer, and portable player toolchain for binary-choice…
Gaiman FAQ
What is Gaiman?
A small programming language and text adventure game engine for storytelling games. This page is an online demo of it.
Do I need to install anything?
No. The playground runs in the browser. Write your code, see the preview, and download the code when you are done.
Can I see how my code is parsed?
Yes. The playground shows the syntax tree and the JavaScript output next to the game's text output.
Is Gaiman open source?
Yes. The source code is on GitHub at jcubic/gaiman.
What are the best Gaiman alternatives?
Popular alternatives to Gaiman include Text Engine, A Dark Room and A Dark Room. See all Gaiman alternatives
