Score
{{ score }}
Best
{{ bestScore }}
Length
{{ snakeLen }}
Level
{{ level }}
Combo
x{{ combo }}
Time
{{ runTimeLabel }}
Focus
{{ focusSeconds }}s
Next level in {{ applesUntilLevel }} apples • {{ applesIntoLevel }}/{{ applesPerLevel }}
{{ comboFlash }}

Snake

Choose a pace, then stay alive long enough to build a strong chain.

Sprint from apple to apple to raise your combo multiplier and unlock Focus slow-mo boosts.
Controls
move
P
pause/resume
R
restart
F
fullscreen
M
mute

Run Summary

Final score {{ runSummary.score }}
  • Score{{ runSummary.score }}
  • Level{{ runSummary.level }}
  • Time{{ runSummaryTimeLabel }}
  • Length{{ runSummary.length }}
  • Apples{{ runSummary.apples }}
  • Max combox{{ runSummary.combo }}
Walls
Metric Value Copy
{{ row.label }} {{ row.value }}
:

Snake is a grid-based arcade game where a moving line grows every time it eats, and that growth steadily removes the safe space you were relying on a moment earlier. The tension comes from that delayed cost: one apple looks harmless now, but it can make the next corner impossible if the route was too tight. This tool turns that familiar format into a browser run with pace shifts, streak scoring, and summary data that make short sessions more revealing.

The appeal is not just reaction speed. Good runs come from seeing two or three moves ahead, protecting open lanes, and deciding when an aggressive turn is worth the risk of boxing yourself in. A few seconds of clean steering can matter more than frantic corrections once the body starts filling the board.

This version adds more structure than a bare clone without changing the basic identity of the game. Runs can feel forgiving or strict depending on whether the board wraps at the edges or treats the border as a hard collision, and the score system rewards quick chains of apples instead of treating every pickup as identical.

A realistic use case is a five-minute break where you want something simple to start and demanding to finish. Early movement is mostly about staying tidy, but later choices become sharper because longer routes, higher levels, and streak pressure all compete for the same limited space.

A strong result here still has a boundary. It reflects this tool's board size, streak timing, bonus rules, and wall setting, not a universal Snake ranking, and random target placement still affects how comfortable a route feels. The score becomes most useful when you compare runs made under the same pace and boundary conditions.

Everyday Use & Decision Guide:

Slow is the best first pass if most crashes happen before the snake gets truly long. It gives you room to judge how much space a turn actually needs, especially with solid walls. Once you can survive the early board calmly, Medium becomes the better comparison setting because hesitation starts costing more.

Wrap play is better for learning routes and recovering from awkward approaches. Solid-wall play is better when you want every edge to matter and you want the summary numbers to reflect cleaner spatial planning rather than escape routes through the border.

  • Keep the same preset and wall mode whenever you compare run summaries. Those two settings change difficulty far more than the visual aids do.
  • Watch Combo, Time, and the next-level progress line together. A high multiplier is more meaningful when it happens alongside steady apple collection instead of one brief burst.
  • Read the crash summary before restarting. Score matters, but Level, Apples, Length, and Max combo explain why the run felt strong or fragile.
  • Treat Grid and Trails as visibility aids. They can make routes easier to read, but they do not change the scoring model.

The common misread is assuming the highest score was automatically the cleanest run. Because burst bonuses and streak scoring can inflate totals quickly, the safer judgment is to ask whether the same preset also produced more apples, longer survival, or a higher level before you call it improvement.

Technical Details:

The game logic runs on a 20 by 20 board. The snake starts at length three near the center, moves one cell per tick, and uses a small direction queue so rapid key presses can be buffered without allowing an instant reversal into the neck. Each step advances the head, shifts the body, and checks the target cell for an apple, a bonus pickup, the body, or a boundary collision.

Boundary behavior is the first major rule change. In wrap mode, a move that passes one edge reappears on the opposite side by modulo position mapping. In solid-wall mode, the same move ends the run. Apples and bonus pickups are placed only on open cells, so a new target never appears inside the snake or on top of another pickup.

Scoring is built around a six-second combo window. If one apple follows another within that window, the combo multiplier rises by one step up to x5; otherwise it resets to x1. Each apple adds 10 points times the active multiplier, increases snake length by one segment, and advances the apple count that controls level changes.

Focus mode is the main pacing twist. Reaching a combo of three or more extends a slow-motion timer, temporarily adding time back to each movement tick so tight routes become easier to read. Bonus pickups add a second layer: a level-boundary trigger can spawn a Focus-extending bonus, while a high-combo trigger can spawn a score burst bonus instead.

Formula Core:

The three most important quantities are apple score, level progression, and tick duration.

ΔSapple = 10×m L = 1+floor(A5) Δt = clamp(B-7×(L-1)+F,60,260)
Snake scoring and timing symbols
Symbol Meaning Unit or values Package use
m Current combo multiplier 1 to 5 Raised by consecutive apples inside the combo window.
A Apples eaten in the current run Integer Drives both level progression and run summary totals.
L Current level Integer Increases every five apples.
B Base preset tick 190, 130, or 90 ms Selected by the opening speed preset.
F Focus timing offset 0 or 55 ms Applied only while Focus is active.
Δt Effective movement tick 60 to 260 ms Lower values mean faster board updates.

Rule Pipeline:

Snake event rules
Event Trigger Effect
Combo growth Next apple arrives within 6000 ms of the last apple Multiplier rises by one step up to x5.
Apple pickup Head enters the apple cell Adds 10 × m points, grows the snake, and places a new apple.
Level change Apple count crosses a multiple of 5 Raises Level and shortens the base tick by 7 ms per level step.
Focus extension Combo reaches x3 or a slow bonus is collected Adds time to the Focus timer and temporarily slows movement.
Burst bonus Bonus spawn came from a combo trigger of x4 or higher Awarding the pickup adds 35 + 5 × Level points.
Game over Head hits the body or a solid boundary Freezes the run and writes the summary snapshot.

Outputs And Comparability:

Snake outputs and comparison notes
Output Format How to read it
Score Integer Total of apple points plus any burst bonuses.
Best Integer Highest score saved in local browser storage for this device and browser profile.
Length Segments Current body length, starting from three and growing by one per apple.
Level Integer Speed tier derived from total apples eaten.
Combo x1 to x5 Current streak multiplier, with Max combo preserved in the crash summary.
Time mm:ss Elapsed run time excluding pauses.

For fair comparison, keep the same preset and wall mode across runs. Grid, Trails, sound, and fullscreen change presentation, not the scoring rules, so they matter less than the two settings that alter pace and boundary risk.

Step-by-Step Guide:

Use one preset for a few consecutive runs so the summary numbers mean something.

  1. Pick a speed from Preset on the opening overlay and start the run. If you want a baseline, keep that preset unchanged for several attempts.
  2. Steer with the arrow keys as soon as the playfield becomes active. The snake cannot reverse directly into itself, so plan the next turn before the head reaches the corner.
  3. Set Walls to Wrap or Solid and leave it there for the run if you care about comparison. Changing it mid-game changes the meaning of the score.
  4. Watch Combo, Time, and the next-level progress line while you collect apples. Those fields tell you whether the route is building a streak or only keeping you alive.
  5. If motion becomes hard to read, use Pause or the P key, then resume when the next path is clear. If the keyboard seems unresponsive, click back into the playfield and try again.
  6. When the run ends, read the crash summary before restarting. Score, Level, Time, Length, Apples, and Max combo together show whether the loss came from speed pressure, wall pressure, or one greedy turn too many.

Interpreting Results:

Score is the headline number, but the best reading usually comes from the whole summary. A run with a modest score and a higher Level or longer Time can reflect steadier control than a flashy run inflated by one big streak.

  • Level boundaries are fixed: 5 apples starts Level 2, 10 apples starts Level 3, 15 apples starts Level 4, and so on.
  • Max combo is bounded: the multiplier only grows when apples are chained inside the six-second combo window, and it tops out at x5.
  • Best is local: the saved high score belongs only to this browser profile, not to an account or shared leaderboard.

The false-confidence trap is treating every new best score as proof of cleaner play. Verify the improvement by rerunning the same preset and wall mode and checking whether higher Score arrived with more Apples, longer Time, or a higher Level, not just one favorable burst.

Worked Examples:

A steady medium wrap run

A run on the middle preset with wrap enabled might finish at Score 215, Level 3, Apples 10, Length 13, Max combo x4, and Time 01:58. Reaching 10 apples matters because that is the exact boundary for Level 3, so the result shows more than one lucky streak. It shows the route stayed organized long enough to survive two full level bands.

High streak, but not the next level

A fast solid-wall attempt might end at Score 185, Apples 9, Level 2, and Max combo x5. The multiplier looks impressive, but the run never crossed the 10-apple boundary, so it did not reach Level 3. That is a good reminder that combo pressure and whole-run control are related but not identical.

When the keyboard seems dead

A player loads the page and presses the arrow keys, but nothing moves because the start overlay is still active and the run has not begun. After choosing a preset and pressing the start button, the stage responds normally. If control is lost later because focus moved elsewhere, clicking back into the playfield restores the expected keyboard path without changing the game state.

FAQ:

Does Best sync across devices or browsers?

No. Best is stored in local browser storage for the current device and browser profile only. Clearing storage or switching browsers starts a separate record.

Do Grid or Trails change the scoring rules?

No. They only affect how the board looks while you play. Preset speed, wall behavior, combo timing, and bonus rules determine difficulty and score behavior.

Why does Focus appear on some runs but not others?

Focus is tied to streak play. It activates when the combo reaches x3 or when you collect the slow bonus pickup that can appear at a level boundary. If a run never chains apples quickly enough, Focus never appears.

What should I check if the board is blank or does not render correctly?

The playfield depends on WebGL support. Try a current browser with WebGL enabled, then start a fresh run and confirm that the opening overlay clears and the stage responds to keyboard input.

Glossary:

Wrap mode
Edge behavior where crossing one border reappears on the opposite side.
Solid walls
Edge behavior where leaving the board ends the run immediately.
Combo window
The six-second gap in which the next apple can raise the multiplier.
Focus
A temporary slow-motion state that lengthens the movement tick for easier reading.

References: