Harbor Sort
One container at a time rolls onto the dock, color-coded for one of four destinations. Tap the matching dock before the loading timer runs out and it's on its way; hesitate, or tap the wrong one, and you lose a life. The timer gets shorter every time your score climbs, so the harbor never lets you settle into a comfortable rhythm.
There's exactly one correct answer for every container and four buttons to choose from — Harbor Sort is entirely about how fast you can look, decide, and tap under a timer that's actively working against you.
How to Play
- Press Start to open the harbor and get your first container
- Each container shows a color matching exactly one of the four dock buttons
- Tap the matching dock before the shrinking timer bar runs out
- A wrong dock or an expired timer costs one of your three lives and resets your streak
- The game ends after three misses — your score is how many containers you cleared
About This Game
Harbor Sort is a single-decision reaction game dressed up as a logistics job. Every round asks exactly one question — which dock does this container belong to — and answering it correctly is never in doubt once you've looked at the color. The entire challenge lives in the timer: how quickly you can process "look, match, tap" as the window shrinks round after round.
Because the rule never changes and there's no hidden complexity to learn, the game gets harder in exactly one way: speed. That makes it a clean test of reaction time and sustained focus rather than puzzle-solving.
Why We Built It
Sorting games are one of the oldest mobile-friendly genres because the core interaction — look, categorize, tap — works identically on a touchscreen and a desktop browser, and it scales smoothly from "relaxing" to "intense" just by adjusting a timer. We wanted a version themed around something tactile and satisfying: a harbor with real destinations, not abstract shapes, so every correct sort feels like you accomplished something concrete.
Four docks was a deliberate choice. Two would make guessing too easy to be interesting, and eight would turn a reaction game into a memorization game where you're hunting for the right button instead of reacting to it. Four sits at the point where you can hold all the options in view at once but still have to actually check the color before you commit.
How It Works
Every new container is assigned one of the four dock colors at random, and a time budget is calculated from your current score — the budget starts generous and shrinks on a curve as your score rises, with a hard floor so the game stays technically possible no matter how high your streak goes. That budget counts down continuously using the browser's animation frame timer, driving both the visible bar and its color shift from green to amber to red as the deadline approaches.
A correct tap cancels the countdown immediately, banks the point, and queues the next container after a brief pause so you have a moment to reset your eyes. A wrong tap or a countdown reaching zero triggers the same miss handling — losing a life, clearing your combo counter, and moving on to the next container rather than replaying the same one, so a single mistake never traps you.
Tips & Strategy
- Keep your eyes on the dock card, not the buttons. You already know where each colored button is — the only new information each round is the container's color.
- Don't wait for the "safe" feeling of full certainty. At high scores the timer is shorter than a full conscious deliberation, so trust your first read of the color.
- A miss costs less than tunnel-visioning on the button you almost got right — move on immediately rather than replaying the mistake in your head.
- If you're consistently losing lives to wrong docks rather than timeouts, slow down slightly; the timer has more slack early on than it feels like.
Ideas for Improvement
- Double containers — occasional pairs that need to go to two different docks in the right order, adding a short sequencing step.
- Priority cargo — a rare gold container worth triple points but with a shorter timer, rewarding calculated risk-taking.
- Dock cooldowns — a brief lockout on a dock right after use, forcing more even distribution across all four destinations.
- Persistent high score — localStorage-backed best score so every session has a concrete target to chase.