Game Development with Temporal
The making of Temporal trivia

The making of Temporal trivia

8/30/2023

What this post added

This post details the creation of a trivia game using Temporal, showcasing the use of two workflows (`GameWorkflow` and `AddPlayerWorkflow`) to manage game state and player interactions. It describes how Activities are used for external API calls (ChatGPT, profanity filtering) and how Queries and Signals are employed for game state exposure and player input. The post also discusses frontend development iterations (SvelteKit, Flask) and key learnings regarding workflow design, moderation, and iterative development. Future improvements include using Workflow Updates for efficiency and exploring WebSockets for real-time communication.

Read the original post ↗