Inspiration

The best Reddit threads are the ones where everyone adds a little something to the same thing. We wanted a game that works like that: not a solo high score, but one shared object that a whole community builds together, a little nervously. A wobbly tower felt perfect. Everyone has stacked one thing too many on a pile and watched it go.

What it does

The Stack is a daily, shared physics game that lives inside a Reddit post.

  • One tower per subreddit per day. Every player drops one object a day onto the same tower.
  • A daily object. You get 1 of 26 cartoon objects for the day: a sofa, a cat, a piano, a rubber duck, a pizza, a traffic cone and more. Your username sticks to it, so the tower becomes a pile of your community.
  • Daily wind. Each subreddit gets the same wind all day (calm, breeze, strong wind or gale), stronger higher up. A dashed line shows where your object will land and an arrow shows the wind.
  • Toppler of the Day. If the tower collapses on your drop, you are the Toppler of the Day: you get the subreddit flair, the app comments u/X toppled tower #N at height H after K drops. 🪦 on the post, and a fresh tower starts.
  • Live. Drops from other players appear in real time, without reloading.
  • Come back tomorrow. A 🔥 daily streak, a leaderboard of today's highest towers and a slow-motion replay of the last collapse.
  • In the feed. The post splash shows a live sketch of the tower, your object of the day and, after you dropped, a countdown to the next day (00:00 UTC).

The tension is social: the higher the tower gets, the more everyone wants to add to it, and the less anyone wants to be the one who knocks it down.

For moderators

A new tower post is created automatically every day at 00:00 UTC and on install; moderators can also use the subreddit menu Create today's tower.

How we built it

  • Devvit Web for the app, the feed splash and the expanded game view inside the post.
  • Phaser with Matter.js physics for the game, built with Vite and TypeScript.
  • Hono routes on the Devvit server, Redis for the shared tower state, daily limits, streaks, leaderboard and replays.
  • Devvit realtime to push every accepted drop to everyone watching the post.
  • Devvit scheduler for the daily tower post, and the Reddit API for the flair and the topple comment.

Challenges we ran into

  • Fair play with client-side physics. Physics runs on the player's device, so the server validates every drop: every existing object must be sent back, nothing may rise, and a collapse only counts if at least 40% of the objects have fallen. A turn lock in Redis lets only one player drop at a time, and the one-drop-per-day limit bounds what is left. Moderators can drop more than once to seed a new tower. Accounts must be at least 3 days old to drop, so throwaway accounts can't topple a tower.
  • Tuning the wobble. A tower that never falls is boring and one that falls every drop is frustrating. We ran a headless simulation with the real physics and server validation to tune friction, bounce, platform width and wind until careless drops topple a tower after roughly 20 to 30 drops while careful play keeps it standing longer.
  • Small screens. The HUD, the drop preview and the camera zoom were reworked so the game is readable on a phone inside the Reddit app.

Accomplishments that we're proud of

  • A full daily loop: a new tower every day, one drop each, a streak to keep and a Toppler to remember.
  • A collapse feels like an event: screen shake, slow motion, a big "TOPPLED!", confetti and a replay anyone can watch.
  • Procedural sound effects with no audio files, and a mute button.

What we learned

Daily, shared games need very little content but a lot of tuning. Most of our time went into physics parameters, server validation and making sure a tower falls for the right reason.

What's next for The Stack

  • Weekly events and seasonal objects.
  • Toppler statistics per player and per subreddit.
  • A mode where subreddits compete with their towers.

Built With

Share this project:

Updates

Submission history