AI • Science • Technology • Future

Side Projects

NULL TIDE: A Game Built on a Nine-Character String

Image from the original article
Featured image: original publisher image. Via original publisher.

A browser-based game called NULL TIDE lets players shape a city through their interactions with the tide. You are not a character. You are the tide itself. Source: dev.to.

How the Game Works

Players control the tide by holding to pull water back, releasing to let it flood. Objects left behind on the seabed — like a shoe, a brass bell, or a wedding ring — are collected by city inhabitants.

Each object influences the city’s culture. For example, leaving a sword twice causes a district to become militarist. A teddy bear, on the other hand, makes a district tender and more compassionate. After ten tides, a deep bell rings, signaling the end of the water cycle. The water recedes permanently, and the city composes a four-line poem about the player. That poem is the game’s final score — the only metric of success or outcome.

The entire experience takes about twelve minutes to complete. There is no progression bar, no levels, no stats. The game is minimal in design, but rich in consequence. Every object left behind becomes a narrative thread, and the final poem is a synthesis of those choices.

The Seed: A Nine-Character String

Every run begins with a seed — a nine-character string such as TIDE-7F3K. The prefix ‘TIDE-‘ is fixed, and the following four characters are drawn from a restricted alphabet that excludes ambiguous or visually confusing symbols.

This seed is not a password or a key to unlock content. It is a deterministic input that defines the entire simulation. When the game starts, the seed is processed through two mathematical functions: xmur3 and mulberry32. These functions generate a pseudo-random number stream without relying on external libraries or dependencies.

The xmur3 function converts the string into a 32-bit integer. This integer is then passed into mulberry32, which generates a stream of floating-point numbers. This stream is used to determine every element of the city: its layout, the order of the fourteen objects in the deck, and which objects appear on which tide. With the same seed, the same city emerges — identical in structure, identical in object distribution, identical in timing.

These functions are implemented in pure JavaScript, with no external dependencies. This minimalism ensures that the game can run in any browser, without needing a server or an internet connection.

Image from the original article
original publisher image. Via original publisher. · Source

Replay Guarantee and the Share Card

At the end of each run, a share card is generated. It includes the four-line poem, a tiny pixel skyline, and a name like THE HALF-MERCIFUL or THE DROWNER. This card is saved directly to the browser using the toDataURL method, meaning no server, no upload, no account is required.

Originally, players shared screenshots of the card. But a screenshot is passive — it shows a static image. The viewer sees the poem, but cannot experience it. The creator wanted a different kind of sharing: one that turns a passive artifact into an active challenge.

With the seed, someone can see the card, copy the nine-character string, and type it into the title screen. They land in the exact same city — same layout, same objects, same tides — and play it from the beginning. Their choices will differ, and their final poem will be different. This transforms the share from a receipt into a challenge. It invites others to explore the same world, but through their own decisions.

Why the Seed Matters: A Boundary of Determinism

Not every element of the game is seeded. Gulls, rain, and the ambient soundtrack use Math.random() — a standard browser function that produces non-deterministic outcomes.

The creator initially considered whether this meant the seed was incomplete. Would two players with the same seed see identical gulls or rain? Would their experience be fully reproducible?

The answer was a deliberate boundary: the seed reproduces everything that determines the final verdict — the city layout, the object deck, the sequence of tides, and the final eulogy. The eulogy is derived from the traits the player creates through their choices. If no trait wins, a seeded fallback is used. Weather effects — like gulls or rain — affect mood and atmosphere but do not alter the outcome. This distinction was critical. It meant that the game could remain simple and deterministic without sacrificing player experience.

By explicitly defining what is seeded and what is not, the game became more transparent and reliable. The moment the creator stopped trying to make every pixel or sound deterministic, the system became more robust and easier to maintain.

Design Evolution and Player Experience

Early versions of the game included many objects — a list of over a dozen items. However, during play, players often only saw six or seven. The creator realized that quantity was not the issue — legibility was.

Players needed to immediately recognize the difference between a brass bell and an oil drum, or a shoe and a wedding ring. The distinction had to be clear at a glance. This insight led to a redesign where the visual and symbolic differences between objects were emphasized. The game now prioritizes clarity over variety, ensuring that each object feels distinct and meaningful.

Image from the original article
original publisher image. Via original publisher. · Source

The creator is curious whether the seed-as-challenge idea works in practice — whether players will actually type the nine-character string into the title screen after seeing a card.

That will be known after a few hundred plays. The game is hosted at derbaroser-eng.github.io/null-tide. The source code is on GitHub.

Why This Model Matters

NULL TIDE demonstrates how a simple, deterministic system can enable deep player sharing without servers or accounts. It turns passive sharing into active participation.

It shows that games can be designed to be both personal and shareable — not as a screenshot, but as a playable experience. The seed becomes a bridge between individual runs and collective exploration.

For independent developers, it’s a model of minimalism: one HTML file, one JS file, no build steps, no analytics. The game runs instantly. A link is all that’s needed.

This approach could inspire other creative projects that prioritize player agency and reproducibility over infrastructure.

For those interested in game design or minimal software, it offers a clear example of how to build a deeply personal experience with no external dependencies.

Read more about similar tools in a CLI that turns any place into a pixel art diorama. Explore game jam tools at Jam Scope Board.

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source