Inspiration
I wanted a daily puzzle where nobody has to design the level. A community already changes shape every day on its own: one post blows up, a couple of threads turn into arguments, and most posts stay small. That shape looked a lot like a skyline to me, so I made it one. The day's posts decide where the towers stand, how tall they are and which roofs are dangerous, and the community builds tomorrow's level just by posting.
What it does
At 00:00 UTC every day, Skyline turns the community's top posts into a small city. Each post is a building. A post with more Buzz (score) is a taller tower, a post with more Chatter (comments) has more lit windows, and the day's top post stands in the middle as the Summit.
You start on a low roof at the edge of town and try to reach the Summit in as few jumps as you can. Walk is free but only reaches nearby roofs. Glide flies a long way, but only down or level. Grapple gets you up a tall tower. You get only a couple of Glides and Grapples, so most of the puzzle is deciding where to spend them.
The city pushes back in small ways. The four most-discussed posts carry gold coins. Heated threads, with lots of comments for their score, are cracked roofs that collapse once you leave them, so you can't double back. Every day has a par, and the score mixes jumps against par, speed, coins and unused tools.
Your first finish of the day goes on the leaderboard and later runs are practice. After you finish you can:
- post your result as a comment from your own account, with your score, your time and a row of coloured squares for the tools you used (no building names, so it doesn't spoil the route);
- check the leaderboard, with everyone's snoovatar next to their name;
- see the routes other players took most often;
- join the community so tomorrow's city shows up in your feed.
Streaks count the days in a row you reached the Summit. Every building opens the real thread it was built from. Post flair shows up on the building signs, and each flair gives its roofs a matching glow. An old post keeps its own day's city and leaderboard, with a button to jump to today's.
How I built it
Skyline is a Devvit Web app. The feed shows a light splash screen with a slowly turning preview of the day's city, and pressing Play opens the full game.
- Client: TypeScript, three.js and Vite. The building textures, the hero and the sound effects are all generated in code, so the game loads nothing from outside Reddit.
- Server: Hono on Devvit, with Redis for cities, runs, leaderboards and streaks. It uses the scheduler for the daily post, the install trigger for the first one, a moderator menu item to post by hand, and a setting that lets a quiet community build its city from bigger communities' posts.
- One set of rules: the jump rules, scoring, city generator and route solver live in shared TypeScript used by both sides. The game only sends the server a list of jumps. The server replays them with the same rules and times the run with its own clock, so a forged run can't reach the leaderboard.
The generator places posts on an uneven street grid, with busier posts closer to downtown, some random noise and a few empty plazas. Then a solver checks thousands of candidate layouts until one passes. The Summit has to be reachable, par has to fall in the day's range, and there have to be at least two good routes. On harder days, simply heading straight for the beacon must not be enough. Difficulty follows the week: easy on Monday and Tuesday, medium mid-week, hard from Friday to Sunday.
Challenges I ran into
- Solvable but not obvious. Most random layouts were either impossible or boring. Running every candidate through the solver, and rejecting the ones where the greedy route works, is what finally made the days feel designed.
- The city kept repeating. A small community has the same top posts all week, so the city looked the same every day even though the layout moved. Now the server remembers which posts earlier cities used, prefers fresh ones, and keeps a fingerprint of every city it has ever built, so a city can never come back.
- My first test city was all empty lots. My test community was brand new and had no posts. That's why the Source communities setting exists.
- Numbers that disagreed. In an early test, the top bar, the result card and the board showed different jump counts after a finish. I locked finished runs and made everything show the server's score.
- The share comment said "1st place". Someone who plays later can beat you, so that line would soon be false. The comment now only states facts: score, time, jumps and the route.
Accomplishments that I'm proud of
- There's a new, solver-checked puzzle every day without me designing a single level.
- The level really is the community's day. Popular posts, arguments and quiet posts each change how the city plays.
- Runs can't be faked, because the server replays every jump.
- There's no tutorial screen. Each tool says what it does on its button, and tapping a roof you can't reach tells you why and which tool would work.
What I learned
A daily puzzle needs a solver as much as a generator. And on Reddit, the comment thread is part of the game: a result that is short, honest and spoiler-free gives every daily post its own discussion.
What's next
- Weekly leaderboards and rewards for long streaks.
- Moderator options for the difficulty curve and the posting time.
- Themed weeks, where a community's flair decides the look of the city.
Testing instructions for judges
- Open the demo post in r/skyline_climb and press Play.
- Pick Walk, tap a glowing roof, then tap it again to jump. Try Glide (far, downhill) and Grapple (up a tall tower).
- Reach the star on the Summit. The result card shows your score, time, rank and streak.
- Press Share as a comment, and open the Leaderboard tab.
- Stuck? Hint shows the next step of the best route, once per day.
Built With
- css3
- devvit
- devvit-web
- esbuild
- hono
- html5
- javascript
- node.js
- redis
- three.js
- typescript
- vite