2048 Puzzle
The 4×4 number-merging puzzle: slide tiles, merge pairs, and build a 2048 tile, with one-step undo, pause and swipe controls.
ArcadeLast reviewed
Skyline Scramble is an endless runner across the rooftops of a city called Marigold Bay. You only ever do two things, jump and slide, but the city speeds up and the obstacles bunch closer together the further you get. Everything below, from jump height to when the pace peaks, comes from the game's tuning values.

Browser-native HTML5 game. No downloads or installations required.
Space or ↑ to jump, ↓ to slide. A short tap of jump while falling is remembered for 0.13 seconds, so pressing slightly early still works.
Swipe up to jump and swipe down to slide. The game switches its tutorial prompts to swipes automatically on touchscreens.
| Setting | What changes | Values from the code |
|---|---|---|
| Warm-up (from 0 m) | Obstacles about 1 second apart. | spacing 1.0 s · jitter 0.6 |
| Rush Hour (from 250 m) | Obstacles closer together. | spacing 0.85 s · jitter 0.5 |
| Downtown (from 700 m) | Trains and crates start to matter. | spacing 0.72 s · jitter 0.45 |
| Skyline (from 1,400 m) | Close to top speed. | spacing 0.6 s · jitter 0.4 |
| Legend (from 2,300 m) | Top speed and the tightest spacing. | spacing 0.5 s · jitter 0.35 |
Running speed rises separately from 430 to 1,000 pixels a second (10.75 to 25 m/s at the game's 40 pixels per metre) over the first 1,800 m, then stays at the maximum. Spacing is the average time between obstacles at the current speed; jitter is how much it varies.
These tips follow from how the game's rules and numbers work.
The game uses Phaser 3.90. Almost none of its art is image files: while the loading screen shows "Painting the sky", "Building the skyline" and "Setting up obstacles", the game draws the city, the buildings, the obstacles and the runner onto canvases in code. That keeps the download small. The runners' outfits are colour palettes applied to the same drawing.
Movement runs at a fixed step of 1/120 of a second. The numbers that decide how the jump feels:
jumpVelocity: 1080, // px/s upwards at take-off
gravityUp: 2900, // px/s² while rising
gravityDown: 3600, // px/s² while falling (heavier, so landings feel snappy)
coyoteTime: 0.08, // s you can still jump after running off an edge
jumpBuffer: 0.13, // s an early jump press is remembered
slideDuration: 0.62 // sThe peak height is 1080² ÷ (2 × 2900) ≈ 201 pixels, about 5 m. The time in the air is the time to rise (1080 ÷ 2900 ≈ 0.37 s) plus the time to fall back from the peak under the heavier gravity (≈ 0.33 s), about 0.71 s in total. Coyote time and the jump buffer are small allowances that forgive a press that is a few frames early or late.
The generator picks a stretch of obstacles, then proves it can be cleared before placing it. It builds a sandbox copy of that stretch with the real player physics and searches through the possible inputs (jump, slide or nothing) at short decision intervals. A stretch is accepted only if there is a solution that still works when the inputs are slightly off; otherwise it is thrown away. If you crash, a clear path existed.
Barriers are 60 pixels tall (1.5 m). Hanging signs leave 64 pixels underneath, enough room for a slide but not for a standing runner. Drones fly at three heights and some bob up and down by 30 pixels. Crates drop from 720 pixels with about a second of warning, and trains run along the rooftops at 42% more than your speed, so they arrive faster than everything else.
The four power-ups last 15 seconds (Shield, which also rescues you from one fall), 10 seconds (Magnet), 5 seconds (rocket) and 12 seconds (Double Coins). After a Shield saves you, you are untouchable for 1.1 seconds so you don't immediately crash again. Coins, unlocked runners, missions and records are saved in your browser.

Yes, in two ways. Your speed rises from 10.75 to 25 m/s over the first 1,800 m, and the obstacles come closer together in five stages, from about 1 second apart at the start to about half a second after 2,300 m.
No. Before each stretch of obstacles is placed, the game simulates the runner and only accepts the stretch if it can be cleared with some margin for error.
Collect coins: Nova costs 1,500 and Tavi 3,000. Coins also buy outfits. Missions and the daily bonus are the fastest way to earn them.
Coins, runners, missions and records are saved in this browser. The settings screen has an option to delete them; clearing this site's data does the same.
The 4×4 number-merging puzzle: slide tiles, merge pairs, and build a 2048 tile, with one-step undo, pause and swipe controls.
8-ball pool with its own physics engine, three computer opponents, 22 career levels and a practice table, playable in your browser.