Spindletak
Back to all articles
TIPS & TRICKS

SubmarineDash Treasure Placement Algorithm: Every 14th Level Has a Full-Clear Shortcut

SubmarineDash levels are procedurally generated, but the treasure placement follows a modulo-14 rule we reverse-engineered. Every level whose number is a multiple of fourteen has a shortcut that lets you collect every treasure in one uninterrupted dive.

Night Warden · Editor, Casual & Audio Design Sep 14, 2026 7 min read 185 words

Modulo-14 and the Shortcut

SubmarineDash says in its tutorial that levels are 'endlessly varied.' After playing to level 70, we noticed something: levels 14, 28, 42, 56 and 70 all felt structurally different from the ones around them. They had treasure chests placed in a single horizontal row, with zero hazards between them. A single dive would collect all of them without any detours. Players who recognise this pattern can skip the usual two or three rope extensions those levels normally require.

We reverse-engineered the treasure-placement algorithm from the level generator source code. It is: if level_number % 14 === 0, generate all chests at row (level_number % 10) with hazards disabled. Otherwise, generate chests at random rows with hazards enabled. The modulo-14 threshold was chosen because the level generator's first draft had a bug that caused chests to overlap every fourteenth level, and rather than fix the bug the programmer kept it and made those levels a design feature.

This is a classic browser-game shortcut: procedural generators accumulate bugs that become design choices, and players who notice the pattern unlock content the generator was not supposed to produce.

SubmarineDash Algorithms Browser Games

You may also like