Inspiration

One of the most entertaining aspects of Reddit is clicking into an interesting post to read the top comments, where each thread acts as a battlefield of wits and wordplay. It's this fascination with how Redditors capture the zeitgeist of a subject that inspired me to build Sub of Fame. I wanted a way to train the mind on formulating clever responses.

By thinking a little deeper about the best comments, comparing them quickly, and ranking them against the community's verdict, perhaps it's possible for us all to become a little richer in good karma.

What it does

Sub of Fame turns the top posts of all time in subreddits and their corresponding top three comments into an interactive social psychology game. Players read a top post and then rank the three comments based on what they believe to be the most upvoted. It adds a twist and a challenge to reading the best threads, turning comment sections into a test of a player's ability to "read the room" and accurately predict human behavior and the internet's collective hivemind.

How we built it

There is a lot of valid skepticism around "AI slop" in hackathons—games where an LLM spits out an entire codebase in one prompt, resulting in brittle logic, unhandled edge cases, and zero architectural integrity.

Coming from a background in mobile app development, I knew that building a serverless, state-heavy game on Reddit’s Devvit platform required an engineering-first mentality. I couldn’t just generate code; I had to architect a system. Instead of letting AI take the wheel, I treated AI tools as an organized development team, using a strict multi-agent orchestration workflow rooted in sound software engineering principles.

Challenges we ran into

Reddit posts are structurally unpredictable. A single viral thread can contain text-only bodies, highly compressed images, multi-image galleries with separate captions, native video structures, or external preview links.

1. Wrangling the Chaos of Reddit’s Rich Media Pipeline

Fetching raw post payloads directly into our game logic caused massive rendering fragmentation. Images would come back blurry due to default thumbnail selection, nested gallery arrays broke standard layout frameworks, and edited text or sub-image captions were buried under inconsistent API nodes.

2. De-weaponizing Failure: Designing a Retentive Token Economy

Unlike traditional logic puzzles with objective deductive paths, predicting the behavior of the Reddit collective mind is inherently erratic. A brilliant player can perfectly analyze a thread but still get completely wiped out by the chaotic whims of a subreddit’s comment section. We had to figure out how to keep players engaged even when the hivemind proved impossible to predict.

Accomplishments that we're proud of

We successfully tamed the absolute chaos of the Reddit data stream by architecting a high-speed, server-side content ingestion pipeline. Instead of allowing complex, deeply nested media layers (galleries, external links, native videos, and variable text bodies) to saturate our frontend memory or bloat our Redis state footprint, we built a defensive serialization gateway.

Our pipeline extracts high-resolution previews, filters out structural noise, and enforces tight, optimized data contracts. The result is a decoupled architecture that delivers lightning-fast database fetches and a completely deterministic, beautifully fluid presentation in the React webview—regardless of how chaotic the original post payload was.

What we learned

UX & Player Psychology: Designing for Soft Failure

In a casual social puzzle game, player retention hinges heavily on how you manage friction and failure. Because predicting the popularity of Reddit comments is highly subjective and volatile, players will inevitably guess incorrectly. To prevent frustration, we shifted away from an "all-or-nothing" win/loss state. Instead, we designed an incremental, slot-based token economy that rewards marginal accuracy. By offering micro-rewards and validation for close guesses (e.g., scoring individual correct slots), we successfully turned potential drop-off moments into engaging "near-miss" loops.

Engineering & Scale: Wrangling Unstructured Data

While Reddit threads appear straightforward on the surface, they sit atop a highly complex, nested iceberg of unpredictable media types, custom markdown elements, and inline assets. We learned how to normalize and parse this structural chaos into a clean, deterministic, and high-speed data ingestion pipeline on our backend, ensuring a highly performant and responsive gameplay experience.

What's next for Sub of Fame

The ultimate vision for Sub of Fame is to move beyond a standalone application and integrate directly into the daily culture of individual subreddits. Our immediate next step is targeted community outreach to subreddit moderation teams.

By leveraging our backend’s strict Subreddit-Native invariant, we can offer moderators a completely isolated, branded experience. For instance, if installed in r/funny or r/science, the game automatically restricts its entire campaign ladder to that specific community's historical top posts and corresponding comments. This allows subreddits to curate and gamify their own unique slice of internet history, transforming years of archived wit and viral discussions into an interactive, playable community narrative.

Built With

Share this project:

Updates

Submission history