Inspiration

Every day, r/news quietly answers a question nobody asked out loud: what will still matter tomorrow? Stories that feel huge at noon vanish by the next day, while slow-burn stories climb. We turned that daily churn into a game: read today's front page like an editor, commit your predictions, and come back tomorrow to see if your news sense held up.

What it does

Tomorrow's Front Page is a daily prediction game that runs as an interactive Devvit post in its host subreddit.

  • Every day at 12:00 UTC, the game freezes the current r/news Hot Top 25 as the baseline and opens a new round.
  • Players answer three questions before 23:59 UTC: Q1 · Presence — From up to six of today's top stories, pick which ones will still be in tomorrow's Hot Top 25. Q2 · Top category — Which category (World, Politics, Business, Science & Tech, Sports, Other) will tomorrow's #1 story belong to? Q3 · New entry — Will a brand-new story in the featured category break into tomorrow's Top 10?
  • The next day at 13:00 UTC, the game captures the new Hot Top 25 and settles the round automatically. Players return for the reveal, their per-question results, and the leaderboard.
  • Correct answers build streaks and earn editorial titles: Reader → Desk Editor (3-day streak) → Front Page Editor (7-day streak). The game never reads vote scores and never asks players to vote on or share the stories it features. Candidate stories are shown as plain text, without links — the game is about reading the news, not moving it.

How we built it

  • Devvit Web app: React client (splash + expanded views) with a Hono server, written in TypeScript.
  • Reddit API (getHotPosts) supplies the ordered Hot Top 25 of r/news. Each listing is projected to its public post ID and a category derived at capture time; titles are read only transiently for categorization and for on-screen display, and are never stored — vote scores are never read or used in resolution.
  • Devvit Scheduler runs the daily cycle: baseline capture and round publication at 12:00 UTC, settlement at 13:00 UTC, with scheduled retries (+1h, +3h) if a settlement read fails. If the settlement capture still fails on the final attempt, the round's questions are voided rather than scored on missing data.
  • Redis stores the frozen snapshots (30-day expiry), player predictions, round state, and streak/leaderboard stats. Settlement is idempotent: re-running a job reuses the first successful snapshot and never double-applies stats.
  • Deterministic categorization: titles are classified by an ordered, whole-word keyword ruleset into six categories, so every settlement is reproducible.
  • Deletion handling: candidates that disappear are classified with multiple signals (removal category, removed flag, author state, fetch errors). A deletion counts as confirmed only when Reddit's removal category says so; a deleted author account by itself proves nothing about the post and is treated as unknown. Only confirmed deletions count as absent; if more than half of Q1's candidates are confirmed deleted, Q1 is voided fairly instead of scored on a broken board.

Challenges

  • Reddit's hot list is a moving target: the design had to resolve on membership and category, never on scores, and stay fair when stories are deleted or removed mid-round.
  • Two rounds overlap daily (the next round opens an hour before the previous one settles), so snapshots are phase-keyed and settlement is serialized and idempotent.
  • Deleted, moderated, and merely-fallen stories look identical in a listing — telling them apart reliably took live API verification, not just documentation.

What's next

  • A public host subreddit launch and a first full week of live rounds.
  • Seasonal leaderboards and special event rounds (election weeks, championship finals).

AI use and owner involvement

This project was created by a human owner working with AI assistants. The owner defined the project, chose the contest and the game's constraints (a daily game that never uses vote scores), created and owns all accounts, and approved the design, the verification plan, and every external action; all publication and submission decisions are hers. AI assistants produced the design document, the implementation, the live verification, and the submission drafts under her direction, with an independent AI review pass auditing scope, rules compliance, and fairness. The shipped game itself contains no generative-AI features: it is deterministic TypeScript with fixed categorization rules, scheduled captures of Reddit's public Hot listing, and rule-based settlement. The game stores only public post IDs and their derived categories (snapshots expire after 30 days); post titles are never stored. Players can erase their in-game data at any time with the in-game "Delete my game data" button.

Built With

Share this project:

Updates

Submission history