The viral imposter game has hit Reddit!

Inspiration

The inspiration for R/OGUE came from the viral imposter guessing games on social media and the unique yet similar culture of Reddit communities.

What it does

R/OGUE is a daily detective game for Reddit where players investigate five posts to identify which one is the "rogue" - a post that actually belongs to a different subreddit than the other 4. I designed three "leads" (turns) that reveal information progressively:

  • Lead 1: Titles only (3-star difficulty)
  • Lead 2: Flairs revealed; subreddit names shown (2-star difficulty)
  • Lead 3: Top comment revealed; target vs. rogue identified (1-star difficulty)

Players file a report at any lead, with earlier guesses earning more stars. The game tracks solve streaks, win rates, and statistics. Text is intelligently redacted to remove giveaways, creating a daily ritual similar to Wordle.

How I built it

I built R/OGUE as a Devvit web application using the React template:

  • Frontend: React 19, Tailwind CSS 4, and Framer Motion for immersive noir-style animations.
  • Backend: Node.js serverless environment (Devvit) with Hono for efficient request routing.
  • Content Engine: The game is self-sustaining. I utilized a pre-generated index of the top 250 SFW subreddits, mapped into "Semantic Sibling" pairs. A scheduled Devvit Cron Job periodically scrapes "Hot" posts from these pairs, using a keyword-matching algorithm to ensure the Target and Rogue posts share a common thread.
  • Intelligent Redaction: To maintain challenge integrity, I built a custom processing engine that scrubs titles, flairs, and comments for subreddit names, external links, and community-specific acronyms (e.g., AITA, TIL) before they reach the client.
  • State Management: React hooks for local gameplay state, with Redis for persistent daily challenges, global solve statistics, and user streaks.

I created a dedicated Admin Panel to ensure the game is "set-and-forget" for moderators. While the system is fully automated, the panel provides manual overrides for daily challenges, allowing for fine-tuned control over the community experience at every daily reset.

Architectural Choice: I decided to host R/OGUE as its own dedicated subreddit. Because the game tests knowledge of Reddit's entire ecosystem rather than one niche, a standalone sub acts as a "Grand Central Station" for players from all corners of the platform.

Challenges I ran into

Text Redaction Balance: Creating a system that removes obvious clues without making the game impossible was tricky.

Mobile Responsiveness: Ensuring the game worked flawlessly on mobile required careful attention to viewport handling, safe areas, and touch targets.

Intelligent Daily Automation: Achieving a daily challenge computed on the backend without relying on LLMs and external APIs was a challange..

What's next for R/OGUE

  • Expanded Pairs: Add more diverse subreddit combinations for infinite variety.
  • Leaderboards: Global and subreddit-specific rankings to foster competition.
  • Multiplayer Mode: Race against friends to identify the rogue post first.
  • Achievement System: Unlock detective ranks and titles based on performance.

Built With

  • devvit
  • framer-motion
  • react
  • tailwind
Share this project:

Updates