Inspiration

Word Toggle started as a standalone word-ladder game and got rebuilt from the ground up for Devvit Web. The core hook is the "toggle" itself - the relation between each word and the last alternates automatically between synonym and antonym, so the puzzle keeps flipping direction under you. That idea became the whole identity of the app: the name, the mascot (which literally flips between 🙂 and 🙃), even the color treatment on the title text (a green-to-coral gradient echoing the synonym/antonym split).

What it does

  • A new six-word ladder drops every day, picked automatically by a scheduled server-side rotation
  • Players choose synonym or antonym for their first move; every rung after that flips automatically
  • Wordle-style guessing per rung, with free letters revealed based on word length and unlimited on-demand hints (rate-limited by a short cooldown)
  • A stopwatch times the run - the leaderboard ranks by fastest completion, powered by a Redis sorted set, and only improves a player's rank if their new time beats their best
  • Players can submit their own word chains from the title screen; moderators review submissions through custom subreddit menu actions (approve/reject) before they enter the daily rotation pool

How we built it

Devvit Web, with a Hono server handling /api routes (leaderboard, puzzle init, submissions) and /internal routes (scheduler, menu actions, install trigger). Redis (via @devvit/web/server) backs the leaderboard and the puzzle rotation/moderation queue, including a FIFO submission queue built on a timestamp-scored sorted set, since this SDK's Redis client doesn't expose a native list type. The splash screen (shown inline in the feed) is a small React component; the full game is deliberately plain HTML/CSS/JS for a lighter footprint.

Challenges we ran into

  • Getting new devvit.json config (menu items, the app icon) to actually register live - some changes need the app reinstalled, not just hot-updated
  • Reddit's Redis client only supports strings, hashes, and sorted sets (no lists/sets), which meant redesigning the moderation queue around a sorted set keyed by submission timestamp instead of a simple FIFO list
  • A Windows-specific npm script bug in the scaffold (single-quoted glob patterns don't get stripped by cmd.exe the way they do in a POSIX shell) that silently broke linting until diagnosed

What we learned

That "hot update" and "fully deployed" aren't the same thing on Devvit - some config changes silently need a fresh install to take effect, which cost real debugging time until we isolated it. Also a deeper appreciation for designing around the exact primitives a platform's Redis client actually exposes, rather than assuming general Redis feature parity.

Accomplishments we're proud of

A fully closed-loop user-generated-content pipeline - submit, moderate, rotate - verified end-to-end, not just built and assumed working. A cohesive visual identity built entirely from code (no external art assets): a hand-drawn canvas-rendered app icon, animated flip mascot, and a color language tied directly to the game's mechanic.

What's next

More curated starter puzzles, a richer moderation view for reviewing multiple pending submissions at once, and exploring streak-based rewards to strengthen the daily-return loop.

Built With

Share this project:

Updates

Submission history