Inspiration

Inspiration Reddit is one of the few places on the internet where real communities form around shared identities. We wanted to build something that didn't just sit on Reddit but was only possible on Reddit β€” a game where the community itself is the player, and every subreddit tells a completely different story. The idea came from a simple question: what if your entire subreddit had to make one decision together every single day, and had to live with the consequences?

What it does

The Settlement is a community colony simulation. Every day a new crisis or opportunity strikes β€” a drought, a bandit raid, a mysterious traveler, a religious schism. The community votes on how to respond. The next morning the consequence unfolds, permanently changing the colony's four stats: 🌾 Food, πŸ‘₯ Population, βš”οΈ Defense, and 😊 Morale. The deeper hook is the progression system. Vote daily to build your streak and earn titles β€” Settler β†’ Elder β†’ Council Member β†’ Founder. Reach Council Member and you can propose the next day's event, putting the story directly in the community's hands.

How we built it

Platform: Reddit Devvit Web with React + TypeScript Storage: Devvit Redis KV store β€” fully serverless, no external dependencies Scheduling: Devvit Scheduler cron job fires at midnight UTC to tally votes, apply consequences, and seed the next day's event Event bank: 90 hand-crafted events across 5 categories with balanced stat consequences Race condition hardening: Concurrent votes use Redis incrBy on per-option keys to prevent write collisions

Challenges we ran into

The two hardest problems were both invisible to the player but critical to get right.

  1. Multiplayer state on a serverless platform

When hundreds of users vote simultaneously, naive read-modify-write patterns corrupt vote counts. We solved this using atomic Redis incrBy operations and minimized the TOCTOU window on the double-vote guard to under 1ms.

  1. WebView scrolling in Reddit's native app

Reddit embeds games in a WebView that fights with the app's own scroll gestures. The fix required four specific CSS properties working together: cssoverflow-y: scroll; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch;

Accomplishments that we're proud of

The game is impossible to fully experience alone β€” and that was intentional from day one. Every feature was designed to require the community. The vote only means something because hundreds of other people are voting too. The streak only feels earned because others are competing for the same leaderboard spots. This is genuinely multiplayer in a way most Reddit games aren't. The Council Member proposal system is our proudest technical and design achievement. The most dedicated players β€” those who have shown up every single day for 14 days β€” earn the ability to write the next day's event. That means a real community member crafts the crisis that 1,000 of their fellow Redditors will debate and vote on. The community doesn't just play the game. They become its authors. 90 hand-crafted events with real trade-offs β€” every event has three options, each with meaningfully different consequences across four stats. There are no obviously correct answers. Choosing military defense weakens your food supply. Boosting morale costs population growth. These tensions create genuine community debate in the comments, which is exactly where Reddit thrives. Shipping a race-condition hardened multiplayer game on a fully serverless platform with no external database was a significant technical accomplishment. Every vote is atomic. Every streak is accurate. The daily reset is idempotent. It works reliably whether 10 people or 10,000 people vote simultaneously. The colony has a memory β€” the Colony Chronicle logs the last 7 days of decisions and consequences. A player joining mid-week can read the history and immediately feel the weight of choices the community made before they arrived. That sense of inherited consequence is something we're genuinely proud of.

What we learned

What We Learned Designing for daily retention is completely different from designing for session length. Every feature had to answer one question: does this give someone a reason to come back tomorrow? Streaks answer it through habit. The consequence reveal answers it through narrative cliffhangers. The leaderboard answers it through competition. Layering all three creates retention that works on different player motivations simultaneously.

What's next for The Settlement

What's Next

🚨 Crisis events when any stat hits 0 πŸ—“οΈ Seasons β€” 30-day narrative arcs that reset for a new chapter 🀝 Cross-subreddit diplomacy β€” trade caravans between colonies 🎯 Subreddit-specific event packs tailored to each community's identity

Built With

  • and-user-profiles-scheduling-&-backend-devvit-scheduler-?-midnight-utc-cron-job-for-daily-reset
  • colony-history
  • devvit
  • devvit-web
  • react
  • redis
  • streaks
  • tailwindcss
  • typescript
  • vite
  • vote-tallying
  • votes
Share this project:

Updates

Submission history