Inspiration
We wanted to turn Reddit’s natural habit of debating theories into a shared detective game. Instead of solving a mystery alone, players influence which lead the community investigates next, compare evidence, and work toward a collective accusation.
What it does
Consensus Casefile is a cooperative daily mystery game for Reddit communities. Players spend action points to inspect scenes, interview witnesses, or analyze two existing findings into a new deduction. Each player keeps a persistent evidence casefile, can link findings together, and votes on community theories. At midnight, the community’s most-supported lead is revealed and the case advances toward a final accusation.
How we built it
We built the game with TypeScript, Phaser 4, Devvit, Hono, Redis, and Vite. Phaser renders the interactive evidence board, action controls, briefings, and personal casefile. Devvit provides Reddit integration, server endpoints, moderator menu actions, scheduled daily reveals, and Redis storage.
Redis persists shared votes, case progress, player action points, personal evidence, evidence connections, and final accusations. The game uses a simple daily progression model:
[ \text{Player actions} \rightarrow \text{Community lead} \rightarrow \text{Midnight reveal} \rightarrow \text{New evidence} ]
Challenges we ran into
The main challenge was making the game feel like investigation rather than a short voting form. Early versions gave players limited immediate feedback, so actions could feel like “choose a button and wait until midnight.”
We also had to balance personal progress with community progress. Players need meaningful private evidence and deductions, while the subreddit still needs to make collective decisions. Finally, we designed the interface for both compact mobile layouts and larger desktop views without overwhelming new players.
Accomplishments that we're proud of
- Created a full cooperative mystery loop around Reddit communities.
- Added immediate, action-specific evidence instead of generic results.
- Made analysis a real deduction mechanic that combines two prior findings.
- Built persistent personal casefiles with evidence links.
- Added bilingual English and Chinese support.
- Integrated daily scheduled reveals and community resolution through Devvit.
What we learned
We learned how to design stateful multiplayer gameplay on top of Reddit and Devvit, including scheduled game progression, Redis-backed persistence, and per-player data hydration.
We also learned that clear onboarding matters as much as game mechanics. Explaining the current case, available actions, and why each choice matters makes the experience far more approachable. Most importantly, meaningful feedback after every action keeps a community game engaging between daily reveals.
What's next for consensus-casefile
Next, we want to add richer suspect profiles, more case variations, evidence-based theory voting, clearer community heat maps, and rewards for successful deductions. We also plan to expand the evidence board into a deeper personal reasoning system where players can form chains of evidence and unlock new investigation paths.
Built With
- devvit
- hono
- phaser-4
- redis
- typescript
- vite