One egg a day. A creature no one else has. Raise it on your island, then race it.
Piyoki is a cozy 3D creature-raising game for the phone, held in portrait. The whole loop fits in a sentence: you get one egg a day, it hatches into a creature nobody else has, you raise it, and then you race it.
Every player gets their egg at the Egg Altar at the same moment. That shared beat is the point: it is something to check in on, not something to grind. Eggs take anywhere from an hour to three days to hatch depending on rarity, and there are six rarities, from common up through uncommon, rare, mythic and legendary to celestial.
What comes out is built procedurally, and its look follows its stats. A creature has six of them, graded E up to S+, and you should be able to read a Piyoki's strengths off its silhouette before you ever open a menu. It grows through four stages, Child, Piyoki, Adult and Elder, while you feed it and put it to work on a foggy island. You play the Thalyn, who builds and clears back the vines; the garden underneath is a seeded 32ร32 grid.
Then you race. A race lasts about sixty seconds and is decided by stats. You watch; you don't steer. The first contest is the 50cc Field Race, and after that there are relays and a Daily Challenge. Behind it all is a small story: four tribes, the Sokari, Umino, Kazurei and Rokun; Miora, the guardian deity; and Tama, the last champion.
Cozy on the surface. Deep numbers for anyone who wants to collect.
The look is toon-shaded 3D with a warm ink outline, done with a custom toon shader and an inverted-hull outline pass. The writing voice matters just as much to me. The game says "Momo reached Speed D!", not "Congratulations!!!", and "Tsubiri trips on the pothole!", not "Runner 7 failed an obstacle check." The creatures have names, so the game uses them.
race ยท 0x5f3a91c2The decision I care most about here is invisible to players. All of the game's rules live in src/sim, and that folder never touches the clock, randomness, the DOM or three.js. A test enforces it, so it stays true when I'm in a hurry. Time comes in as an argument. Randomness comes from seeded streams.
On top of that sits an event engine with what I call the "jump equals step" guarantee. An idle game has to answer one awkward question all the time: you closed the app yesterday, so what happened while you were gone? The lazy answer is an estimate. Mine is that catching up after time away gives exactly the same result as running the world tick by tick. Not close. The same.
That one property pays for a lot. Races are fair and replayable from their seeds. And because the whole game runs without a screen, a pacing bot plays a full week headless to tune the economy. Today it meets the first-week pacing targets on 90 of 100 seeded islands. A separate test sweeps 300 islands to guard the garden layout.
The creatures are generated from their traits, and they have to stay cheap enough for a phone. Measured over 1,000 random creatures, the close-up model has a median of 3.1k triangles and a maximum of 4.9k, at two draw calls each.
An island, an egg and a race each start from a seed. Every random choice is drawn from a stream that seed defines.
Hatches, feedings and grade-ups are events on a timeline. The engine advances from one to the next, never off the wall clock.
A day away and 1,440 single minutes land on the same state. Tests hold it to that, so catch-up can't drift.
Only then does three.js draw the result: toon shading, the ink outline and the fog. The picture never feeds back into the rules.
I started on October 3, 2026, from a 1,090-line design spec, and broke the build into nine plans. Plans 1 to 3 produced a complete headless simulation: eggs, the garden economy, races, relays, the Daily Challenge, the pacing bot and a frozen v1 save format. Plan 4, the 3D models and a creature gallery to browse them in, finished on October 16. The suite stands at 391 Vitest tests plus 4 Playwright checks.
There is an early build you can open in a browser now, and it will fill in as each plan lands. Next comes the playable garden world, then the first-time flow, story and audio, and after that an installable web app and iOS. I haven't set a date, and I won't write one here until there's a build to back it.
In progress. The simulation is complete and tested headless, and the creature models are done. The playable garden world is the next plan.
6 rarities ยท 6 stats ยท 4 stages
32ร32 seeded garden
391 Vitest + 4 Playwright
1,090-line design spec
Phone, portrait
Web first, as an installable app
iOS planned via Capacitor
RP-15
Started Oct 3, 2026
Drafted 2026
Russ Fyfe