Inspiration
We’ve all been there—"doom-scrolling" through Reddit, lurking in comments, and passively consuming content. I wanted to break that cycle. I asked myself, what if a Reddit post could fight back? I wanted to bring the energy of a local "pub quiz" directly into the subreddit feed. The goal was to create something that wasn't just a game but a daily community ritual, a place where Redditors could gather at the same time every day, compete for bragging rights, and spark conversations in the comments. That’s how QuizoFun was born.
What it does
QuizoFun is a massively multiplayer trivia battle royale that lives entirely inside a Reddit post. 1) Real-Time Multiplayer: Players aren't just answering a form; they are competing against the clock and each other. 2) Live Leaderboards: As soon as a game ends, the global leaderboard updates. Users can see exactly where they rank in the community. 3) Exiting tie-breaking matches: There are many fun tie-breaking rules built into this game, which enhance the user engagement. 4) Seamless Integration: No external links, no downloads, and no login walls. You see the post, you click "Play," and you’re in.
How we built it
We leveraged the Reddit Developer Platform (Devvit) to build a native experience. 1) Frontend: We used Devvit’s UI blocks to create a responsive, app-like interface that feels at home on both mobile and desktop. 2) Backend: The core logic runs on Devvit’s TypeScript runtime. 3) State Management (The Secret Sauce): We utilized Redis heavily to handle the game state. Redis Sorted Sets were used to manage the real-time leaderboards, allowing for instant ranking updates even with concurrent players.
Challenges we ran into
1) The "Real-Time" Illusion: syncing game states across different users without a traditional WebSocket server was tricky. We had to be creative with Redis to ensure that when a user answers, their score is reflected instantly. 2) Balancing Difficulty: Creating questions that were hard enough to be fun but easy enough to keep games fast-paced required a lot of playtesting.
Accomplishments that we're proud of
1) It Actually Works: Seeing the first real-time score update on the leaderboard was a huge "Aha!" moment. 2) Native Feel: We’re proud that QuizoFun doesn’t feel like an external web app iframe; it feels like a native part of Reddit. 3) Resilience: Overcoming the environmental issues and successfully deploying a working multiplayer app within the short hackathon timeframe really gives a proud feeling.
What we learned
1) Redis is powerful: We gained a much deeper appreciation for Redis beyond just caching—specifically how Sorted Sets can gamify data sorting effortlessly. 2) Community is Key: We learned that a game on Reddit isn't finished when the code is written; it's finished when the comments section is active. Designing for "shareability" (prompting users to comment on their scores) is just as important as the game loop itself.
What's next for QuizoFun
1) Daily challenge: I'm on my way to launching a new feature that uses sections to store the top three user scores on the leaderboard and challenges other users to beat them within 24 hours, and by the end of 24 hours, the top 3 winners will get some prizes (in the form of badges or tags). 2) Thematic Seasons: We plan to introduce weekly themes (e.g., "Tech Week," "History Month") to keep the content fresh. 3) Badges & Flairs: We want to integrate with Reddit’s user flair system, so top players automatically get a "Trivia Master" flair in the subreddit. 4) Community Submissions: Building a pipeline for users to submit their own questions, turning QuizoFun into a truly community-run game show.
Log in or sign up for Devpost to join the conversation.