Project
Roulette

Text Adventure Engine

Type 'take lamp' and have it actually understand.

IntermediateWeb appGame12–26hAI-buildable 3/5no setupworth shipping

A parser-based adventure: verb-noun commands, an inventory, rooms with connections, and objects with state. The parser needs to handle synonyms and disambiguation gracefully — 'take the brass lamp' when two lamps are present should ask which.

UI
Logic
Useful

Hosting · Free forever

Deploys free on GitHub Pages, Cloudflare Pages or Vercel Hobby.

Deploy it and share a link.

Core features · 7

  • Rooms with descriptions and connections
  • Verb-noun command parsing with synonym support
  • Inventory with take, drop and examine
  • Objects with state that puzzles depend on
  • Ambiguous references prompt for clarification
  • Unrecognised commands respond helpfully rather than generically
  • Save and restore game state

The interesting part

  • Parsing that is forgiving without becoming ambiguous
  • Disambiguation prompts that don't derail the flow
  • Modelling object state without the world logic becoming a tangle

Once it works

  • Add a world-definition format so stories are data, not code
  • Add NPCs with simple conversation
  • Add a map that draws itself as you explore

Suggested stack

reacttypescripttailwindlocalstorage

Track it