A generative PvP simulation on Bitcoin.
Sssss is a generative simulation of autonomous snakes competing for a single food source—an allegory for crypto’s core dynamics: scarcity, competition, and timing.
Each piece features 1, 2, 4, 8, 16, or 32 snakes. All snakes in a piece share the same behavioral archetype, creating a focused expression of that character’s logic. Over time, each snake’s IQ increases, peaks, and resets—mirroring cycles of learning, hype, and return.
The movement system was inspired by the turtlesim ROS (Robot Operating System) simulator, where robots in a closed environment follow rule-based instructions to interact with their surroundings—a throwback to the origins of autonomous robotics and a reflection on how far the field has come.
Sssss runs on a three-phase loop, with each simulation tied to a 10-minute interval—the average time between Bitcoin blocks.
The phases are:
Each simulation uses two seeds:
// starting value
const baseSeed = 1231006505;
// +1 every 10 mins
let seed = (baseSeed + Math.floor(Date.now() / 600000)) % Number.MAX_SAFE_INTEGER;
IQ is derived from the base seed value and recalculated every cycle using:
// cycles over 1-144
const iq = 1 + (seed % 144);
This keeps IQ values between 1 and 144—mirroring the number of Bitcoin blocks mined in a day. As the cycles progess, IQ rises incrementally with each cycle, then resets after reaching the peak. This models a rhythm of growth, saturation, and renewal—similar to market cycles.
⚠️ The first cycle may be shorter than 10 minutes if the simulation starts mid-cycle (e.g., at 7:03). In that case, it runs only until the next 10-minute mark (e.g., 7:10) to sync with the global cadence—similar to how a new node catches up to the current blockheight.
The quantity and DNA of snakes create different behavioral patterns:
Direct and aggressive. Always moves toward the food with high precision and minimal hesitation.
Unpredictable and looping. Sometimes orbits the food or misleads with erratic movement.
Methodically mows the grid with spirals and horizontal sweeps.
Moves in structured, grid-based strokes. Deliberate and painterly, like composing a blueprint.
These movement patterns show how snake behavior evolves as IQ increases. Each path reflects a different level of strategic complexity.
Snake movement patterns across increasing IQ levels
The palettes are inspired by real snakes and their wild colors. Each one brings a different vibe to the snakes in the project—some bold, some sneaky, some just plain cool.