Inspiration

Reddit runs on two timeless memes: "Banana for Scale" and "TO THE MOON 🚀" (cashing out vs. getting greedy and crashing). We wanted to turn that energy into a 30-second daily Reddit game—while sneaking in a zero-guilt daily nudge to eat a banana and step outside for a few seconds of sunlight.

What it does

Banana To The Moon (dopagakibanana) is a native Reddit Devvit Web daily arcade game where an entire subreddit shares the same deterministic sky course and a live Tiered Daily Community Goal (500 → 1,500 → 3,500 → 7,500 🍌):

  • Instant Ranked Launch #1: Open the post and fire immediately—no barriers or forms. Aim, launch, and tap mid-air for a Peel Boost (3 peels; pass through ☀️ Sunbeam Rings to refill peels and climb your multiplier x1.0 → x1.5 → x2.5+).
  • Push-Your-Luck Cash Out vs. Crash: As you fly from Banana Meadow → Sun Stratosphere → Orbital Banana Belt → Solar Core, speed climbs and rings tighten. Hit 💰 BANK (CASH OUT) anytime to deploy a banana parachute and bank Distance × Multiplier. When your live payout is enough to clear the subreddit's active Tier, the button pulses gold (🏆 BANK ○○ 🍌 · CLEARS TIER 1!). Get greedy and hit the ground without cashing out, and you crash (salvaging 15% and entering Yesterday's Biggest Crash Award).
  • Graveyard Ghost Flags: Fly past other Redditors' real outcomes planted along the course—green parachutes (🪂 u/user x3.0) for safe cash-outs and red crash markers (💥 u/user x4.5) for greedy busts.
  • Subreddit Banana Civilization: Everyone's banked distance evolves the community's launcher from a Lv.1 Wooden Slingshot to a Lv.3 Golden Pyramid Solar Cannon up to a Lv.5 Orbital Mass Driver.
  • Fair Healthy Habit Bonuses: Checking off 🍌 Ate a Banana or ☀️ Got Sunlight unlocks Unranked Co-op Bonus Launches (helping the Community Goal & Civilization without affecting Personal Leaderboard fairness), cumulative 3/5/7/14/30-Day Badges, and Banana Coins for the Silly Shop (absurd banana skins, synthesized Airhorn/Choir/Monkey SFX packs, and comment titles).
  • Daily Rollover Scheduler (UTC 00:00): Automatically creates each day's fresh post with a pinned Flight Log thread, crowns Yesterday's Top 3 Contributors and Yesterday's Biggest Crash, and supports user-attributed comment replies (runAs: 'USER') with a pre-post preview.

How we built it

  • Frontend: React, TypeScript, Vite, HTML5 Canvas (60Hz fixed-timestep kinematics), and a zero-asset Web Audio API synthesizer for all SFX packs.
  • Backend: Reddit Devvit Web (@devvit/web/server) with Hono, Redis (Sorted Sets for daily leaderboards & crash awards, Hashes for ghost flags, atomic counters for community goals & launch slots), and Devvit Scheduler (dailyRollover).
  • Anti-Tamper Verification: A shared deterministic physics module (src/shared/sim.ts) replays each official flight's input tape on the server before committing scores, backed by Redis NX idempotency locks and rollback protection.

Challenges we ran into

  • Tuning the risk-reward curve: Early prototypes either felt too punishing after Ring 1 or allowed passive no-tap flights to chain endlessly. Iterating with multi-seed simulations let us find a sweet spot where passive flight drops after 1–3 rings while active tapping chains smoothly into high-tension space zones.
  • Preventing self-report cheating: Because healthy habits are self-reported, tying them to personal leaderboard power would break fairness. Restricting personal rank strictly to Launch #1 while routing habit launches to shared Co-op & Civilization progress kept both competition fair and habits rewarding.
  • Concurrent goal clearances & partial failures: When two players cash out near the same community threshold, computing before/after totals on the client caused both to claim the Tier clear. Moving the delta calculation to atomic redis.incrBy results on the server—and separating Practice Mode onto random seeds so players can't memorize the official daily course—resolved both issues.

Accomplishments that we're proud of

  • Turning the tension of "If I cash out right now, I clear today's subreddit goal—or do I risk one more ring?" into a single intuitive button that works cleanly on both desktop and mobile Reddit.
  • Shipping a full-stack Devvit Web app with server-side deterministic replay verification, live graveyard ghost flags, evolving Banana Civilization eras, and user-attributed comment replies (runAs: 'USER') with zero external hosting or audio asset dependencies.

What we learned

  • On Reddit, the most compelling daily games make other players' choices visible right inside your own run (ghost flags, shared milestones, and Yesterday's Biggest Crash Award).
  • Building a shared deterministic simulation module between client and server makes anti-tamper verification lightweight and keeps physics consistent across devices.
  • Devvit Web's bundling, Redis primitives, and asUser permissions (SUBMIT_COMMENT) require careful real-device testing early rather than relying only on local mocks.

What's next for Banana To The Moon

  • Community-voted daily sky weather modifiers (Tailwind Day, Low-Gravity Moon Day, Solar Storm).
  • Seasonal Banana Civilization monuments and custom subreddit milestone badges.
  • Expanded Silly Shop unlocks and richer mobile haptic/visual feedback on high-multiplier streaks.

Built With

Share this project:

Updates

Submission history