Find Related products on Amazon

Shop on Amazon

From Prompt to Adventures:Creating Games with LLMs and Restate Durable Functions

Published on: 2025-06-24 05:15:25

You can give the game a try at cyoa.dev with the code open sourced at https://github.com/essencevc/cyoa In this article, we’ll explore how to take a single user prompt and generate an entire Choose Your Own Adventure game from it using Restate. On the surface, this seems simple - just a simple series of story branches for the user to navigate. But add image creation, audio synthesis and multiple LLM calls across a complex web of services and this quickly spirals out of control. Traditionally, we might reach for a message queue for coordinating the requests between different services. Once we’ve done so, we would also need to code up a separate service to track any potential failures to handle the retries or requests that were dropped. Restate simplifies this process significantly, helping us to build out and deploy complex workflows with confidence. We’ll see how we can coordinate multiple services, track state updates and have automatic retries out of the box with their built in ... Read full article.