Dungeon Mastron is a free, MIT open-source platform for choose-your-own-adventure games. Build visually with a node graph, play and share instantly in the browser, or paste one prompt template into ChatGPT to generate a complete playable game - then load it onto a 3D-printed Raspberry Pi cartridge console.
No reviews yetBe the first to leave a review for Dungeon Mastron
Maker
📌
Hey Product Hunt!
I love choose-your-own-adventure games, but the tools always felt like they were missing something. Twine is great but code-adjacent. AI tools spit out text you can't keep or structure. And nothing captures the old cartridge magic, the physical slot it in and play ritual.
So I built Dungeon Mastron: a free, MIT open-source CYOA platform. It's a solo passion project in refinement stage, and I'm looking for people to shape it with me.
What works today:
Visual node-graph builder – draw your branching story, no code
AI Companion – paste one prompt template into ChatGPT or Claude and get back a complete playable game file. It helps with narrative AND game structure (stats, items, wounds, endings), not just prose
Browser player – share any game with a link, no account, no install
"Wounds, not death" – failure changes the story instead of restarting it
Any style of game works: fantasy, horror, sci-fi, mystery, educational, whatever you can branch. One honest note: the platform handles story and structure. Images, voice and sound are up to you, sourced or generated elsewhere and dropped into your game folder.
In beta: the DIY Raspberry Pi console, a 3D-printable console where the cartridges are USB sticks. The v1 case is printed and working; the Pi engine runs but needs real testing. STLs are free and the shell is anyone's to remix.
Honestly: for this to become what it could be, a community needs to form around it. Everything is MIT so that can happen. If you like early, weird, open projects: come break it with me. 🎲
– Henrik (Artifextron)
Report
Curious how the ChatGPT prompt template actually works - does it output the same node graph format, or do I need to massage it back into the editor?
Report
Maker
@linaeresin Hey! The prompt tells the AI to create a propper .json file which you then can upload into dungeon mastron. So the prompt tells the AI all the rules and frameworks for a complete game.
so either you can feed the whole prompt to the AI and say. 1. "Give me questions to answer about the game we are making" 2. " I want a dark fantasy style game with a lone hero character, conan style. Make the game dark, but with humor. Around 150 nodes long. and 3 possible endings.
so there are different ways for it to create the actual game. But in the end, it outputs a file you import into Dungeon Mastron.
Report
Tried building a quick branching story last night and the node graph feels way more natural than scripting. Love that I can paste the prompt template into ChatGPT and get a playable game back without fuss.
Report
Maker
@diyar113588 Thanks so much! That's exactly the workflow I was hoping for. I wanted people to spend their time designing stories rather than fighting syntax. The prompt generates a solid starting point, and then the node editor makes it easy to reshape branches, add choices, or expand the adventure visually. I'm really glad it felt natural to use!
Report
Spent a few minutes clicking through the node graph editor and was surprised how snappy it felt for an open source tool, the visual layout made branching choices way easier to keep track of than text scripts.
Report
Maker
@edanurbaus7dhg Thanks for the feedback! a cool feature is that you can use shortcuts 1-9 to switch between tools and draw lines between the nodes. no need to go into the drawer on the side to connect and unlink nodes. fast and seamless.
Report
Tried generating a dungeon with the ChatGPT prompt and was honestly surprised it parsed cleanly into the node graph first try. The Raspberry Pi cartridge idea is a fun touch too.
Report
Maker
@kemalnlv4 Thank you! I'm really happy it worked first try for you. 😄 That's definitely the goal, although I'll be honest - it isn't a 100% success rate yet. Sometimes the generated game needs another attempt or a slightly tweaked prompt, especially for larger or more ambitious adventures.
The nice thing is that once you get a solid starting point, the node graph makes it easy to tweak and expand everything visually. And thanks! The Pi console is definitely the weirdest part of the project, but I couldn't resist the idea of bringing back that old "plug in a cartridge and play" feeling.
Report
The node graph editor feels really intuitive, and the ChatGPT prompt trick is clever for sketching out a game fast. Would love to see how the Pi cartridge prints out.
Curious how the ChatGPT prompt template actually works - does it output the same node graph format, or do I need to massage it back into the editor?
@linaeresin Hey! The prompt tells the AI to create a propper .json file which you then can upload into dungeon mastron. So the prompt tells the AI all the rules and frameworks for a complete game.
so either you can feed the whole prompt to the AI and say.
1. "Give me questions to answer about the game we are making"
2. " I want a dark fantasy style game with a lone hero character, conan style. Make the game dark, but with humor. Around 150 nodes long. and 3 possible endings.
so there are different ways for it to create the actual game. But in the end, it outputs a file you import into Dungeon Mastron.
Tried building a quick branching story last night and the node graph feels way more natural than scripting. Love that I can paste the prompt template into ChatGPT and get a playable game back without fuss.
@diyar113588 Thanks so much! That's exactly the workflow I was hoping for. I wanted people to spend their time designing stories rather than fighting syntax. The prompt generates a solid starting point, and then the node editor makes it easy to reshape branches, add choices, or expand the adventure visually. I'm really glad it felt natural to use!
Spent a few minutes clicking through the node graph editor and was surprised how snappy it felt for an open source tool, the visual layout made branching choices way easier to keep track of than text scripts.
@edanurbaus7dhg Thanks for the feedback! a cool feature is that you can use shortcuts 1-9 to switch between tools and draw lines between the nodes. no need to go into the drawer on the side to connect and unlink nodes. fast and seamless.
Tried generating a dungeon with the ChatGPT prompt and was honestly surprised it parsed cleanly into the node graph first try. The Raspberry Pi cartridge idea is a fun touch too.
@kemalnlv4 Thank you! I'm really happy it worked first try for you. 😄 That's definitely the goal, although I'll be honest - it isn't a 100% success rate yet. Sometimes the generated game needs another attempt or a slightly tweaked prompt, especially for larger or more ambitious adventures.
The nice thing is that once you get a solid starting point, the node graph makes it easy to tweak and expand everything visually. And thanks! The Pi console is definitely the weirdest part of the project, but I couldn't resist the idea of bringing back that old "plug in a cartridge and play" feeling.
The node graph editor feels really intuitive, and the ChatGPT prompt trick is clever for sketching out a game fast. Would love to see how the Pi cartridge prints out.