Single-File JS Adventure Game Demo

francoisfleuret · x · 2026-07-19

The image shows a prompt asking for a "King's Field II-style adventure game" featuring a complex overarching plot, nuanced characters, moral dilemmas, comedic elements, and a massive world, all contained within a single HTML file with game logic implemented in JavaScript.

The generated result is thethreeunreasonabledoors.html: a complete single-file JavaScript adventure game featuring a parser interface, 50+ locations, three major regions, inventory puzzles, side quests, moral choices, save/load functionality, multiple endings, argumentative robots, bureaucratic trolls, and "unionized geese." The author notes it can be played directly in any modern browser.

Original post →

More from coding & agent

coding & agent channel →