/plushcap/analysis/datastax/datastax-building-unreel-ai-movie-quiz

How We Built UnReel: An AI-Generated, Multiplayer Movie Quiz

What's this blog post about?

We created a multiplayer movie trivia game that combines real-time gaming with AI-generated questions using RAG (retrieval-augmented generation) system, Langflow to generate movie-related questions, and PartyKit for rapid iteration. The game uses a client-server architecture with a central server maintaining the true game state, ensuring automatic load balancing at production scale with Cloudflare Durable Objects. We experimented with multiple LLMs and providers, landing on MistralAI's open-mixtral-8x7b model to generate believable fake movie quotes, injecting suspense and uncertainty among players. The game features real-time multiplayer infrastructure using PartyKit, allowing for instant setup and iteration. Building this game taught us lessons about Astra DB, Langflow, and PartyKit, with valuable feedback gathered that has already been actioned.

Company
DataStax

Date published
Dec. 19, 2024

Author(s)
-

Word count
600

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.