Devlog — one sea for everyone, every day

By Jay ·

The Daily Challenge has one promise: everyone who plays today fishes the same sea with the same gear. Same fish, same depths, same directions. That is what makes comparing scores fair. The twist is that the game has no server — it is just files your browser downloads. So how does every player end up with an identical ocean? The answer is randomness that is not actually random.

Random numbers you can repeat

The normal game places fish with the browser's built-in random number generator, which gives different results every time. The daily mode swaps it for a seeded generator called mulberry32. You give it a starting number, the seed, and it produces a long sequence that looks random but is completely determined by that seed. The same seed on any device, in any browser, produces the same sequence, number for number.

So the problem becomes: how do we give everyone the same seed today and a different seed tomorrow?

The day number

The challenge counts days from its launch on 27 September 2026, which is Daily #1. Your device works out today's number from its own local calendar date, so the new sea arrives at your midnight, not at some time zone's midnight halfway through your evening.

There is a trap here. A naive version would subtract two timestamps and divide by 24 hours. But on the days clocks change for daylight saving, a local day is 23 or 25 hours long, and the division comes out a fraction off, which can land you on yesterday's or tomorrow's number. The game avoids that by reading your local year, month and day, rebuilding them as a calendar date in a fixed time zone, and only then taking the difference. Calendar days in a fixed time zone are always exactly 24 hours apart.

Slices, not one big seed

The obvious approach — one seed per day for the whole sea — breaks quickly. The game spawns fish in horizontal slices 50 px tall as your hook sinks, so the number of random draws depends on how deep you go and how wide your screen is. With a single sequence, a player on a wide laptop would use up more numbers in the shallows than a phone player, and every fish below that point would come out different.

So every slice gets its own seed, made by mixing the day number with the slice's position. Slice 12 of Daily #20 always gets the same seed no matter what happened in slices 1 to 11. Inside a slice the draws always happen in the same order: how many fish, then which species, then which way it swims, then where across the screen it starts. Change any of that order and two players would see different fish from the same seed.

Screen width still matters a little. A landscape screen is wider, so each slice holds proportionally more fish to keep the water just as crowded, and the starting positions spread across the extra width. Two players on the same kind of screen see an identical sea. A phone player and a laptop player see the same day, the same depths and the same mix of species, laid out to their screen.

Today's gear

Each day also picks a loadout using the same trick: the day number seeds a single draw from six combinations — a 50 m, 80 m or 120 m line with either the pistol or the shotgun. The starting 30 m line is left out of the pool on purpose: the shallows hold only about three fish across the whole water column on a portrait screen, and a challenge you can't do much in is not a challenge. Because the loadout is fixed for the day, a brand-new player and someone who has maxed out the main game compete on equal terms.

Three tries, kept on your device

You get three runs per day and your best one counts. Your tries, your best result and your streak are saved in your browser alone, separately from your main-game coins, so a daily run can never cost you upgrades. There is no account and no leaderboard server. Sharing is just a short block of text with the day number, your gear and your best score, which you can paste anywhere and compare by hand.

That is the whole system: no backend, no database, a few lines of arithmetic, and everyone in the world fishing the same water.