A virtual pet lives on the LED panel. You look after it from your phone; the
panel is its home. This page describes the rules of the game. The numbers
quoted here are constants at the top of the modules in app/pet/, so they are
easy to tune.

Five stats run from 0 to 100, and higher is always better. A stat below 25 is critical: an icon pulses on the panel and the matching item glows in the app.
| Stat | Awake, per hour | Asleep, per hour | Notes |
|---|---|---|---|
| Satiety | −5 | −2 | full to empty in about 20 waking hours |
| Energy | −2.5 | +12 | drops twice as fast in the hour before bedtime |
| Mood | −2 | −0.5 | another −2 for every critical stat |
| Hygiene | −2 | −1 | another −3 for every poop lying around |
| Health | – | – | −2 while two or more stats are critical or the pet is sick, +1 while all are above 50 |
A poop appears one to two hours after a meal (three at most). With health below 30 the pet can get sick, which only medicine cures. Every now and then it gets bored and loses a little mood, so playing stays worthwhile.
Three meals, two play sessions and one cleanup a day keep the pet happy. A day alone leaves it with about two thirds of its energy in the evening, enough to play and go on a trip. With no care at all it is hungry after about half a day and grumpy after a day. After a day and a half Grandma takes it in (see At Grandma’s), before it gets sick.
The simulation runs in fixed one-minute steps with seeded randomness. After a restart the Pi simply catches up, with the same result as if it had never been off, so a pet nobody looked after meanwhile is at Grandma’s.
The Pi checks every action and may refuse it – the pet then shakes its head, and the app says why.
| Action | Effect | Refused when |
|---|---|---|
| Meal | satiety +40, a little mood and health | it is full or asleep |
| Something from the bag | see below | it isn’t there, the pet won’t eat it, or it is asleep |
| Play (ball) | mood +20, energy −10, satiety −5 | energy is below 15, or it is asleep |
| Sleep / wake up | puts it to bed or wakes it | it isn’t tired yet (daytime, energy above 80) |
| Clean | removes the poops, hygiene back to 100; on a hot afternoon it cools the pet down | everything is already clean, and it isn’t hot |
| Pet | mood +5, bond +2 (counts once every two minutes); rubs a shivering pet warm | – |
| Medicine | cures sickness | it isn’t sick (and it sulks a little) |
Doing the same thing over and over is worth less each time (playing three times in a row gives +20, +12, +6), so there is no point in spamming.
Every fifth counted petting, a heart falls from the sky and the pet catches it.
The bag. Apart from the meal, which is always there, nothing to eat comes out of thin air. What there is lies in the bag: fruits of the plant’s kinds (from a friend’s gift or found at home), food from trips and seeds, up to three of each fruit and food. A fruit has the same effect as one from the plant and cheers the pet up a little more; food from trips is described under Trips and finds. Every form has one favorite, which cheers it up a lot (mood +20), and one thing it won’t eat: it turns its head away, and the thing stays in the bag. The app marks both (❤ and ✕) once they have been tried with this form; a new form has tastes of its own. Since there is never much of anything, finding out what a pet likes takes trying what there is. What a thing does is no secret: in the bag each one carries a small badge (a fruit and its seed the need the fruit fills, the seed’s badge dashed), food that works from the backpack a little backpack, and held a moment, it says what it does.
Weight. Meals and food add weight; playing, hide and seek, training and trips take it off, and by itself the weight drifts back to the ideal. A meal adds 1 g, a fruit half a gram and a honeycomb 2.5 g; a round of play burns 2 g and every stop on a trip half a gram. A pet that is too heavy tires faster and looks visibly wider on the panel; one that is too light (only from going hungry) gets sick more easily. For a heavy pet, the app only hints that it needs exercise.
Bond. Petting, playing and caring build a bond, shown as zero to five hearts. It hardly ever wears off. A strong bond slows down the loss of mood and makes tricks easier to learn.
Bedtime is the night mode from the web interface (22:30–07:00 if night mode is off). The pet gets tired about an hour earlier, falls asleep by itself at bedtime at the latest, and wakes up in the morning once it is rested. Tucking it in yourself earns a little mood. Woken at night, it is grumpy, stays up for half an hour and goes back to sleep. If it runs out of energy during the day, it takes a nap.
The sky follows the real time of day, with sunrise and sunset for your location, and stars at night with the moon as it really is that night, from new to full. Clouds, rain and snow come from the real weather; in rain or snow the pet holds an umbrella.
Cold mornings. When it is below 5 °C outside, the pet wakes up shivering, and its breath shows. Rub it warm with the petting gesture: that is worth a little extra mood and bond. It costs nothing if you don’t; after an hour the pet has warmed up by itself. Some pets never shiver, and some things a pet can find keep the cold away. Which ones is for you to find out.
Hot afternoons. When it is 28 °C or more outside in the afternoon (13:00 to 18:00), the heat gets to the pet once that day: it sweats and droops now and then. A bath with the sponge cools it down, even when it is clean, and that is worth a little extra mood. It costs nothing if you don’t; after an hour it has got over it by itself. Some pets don’t mind the heat, and something a pet can find keeps it off.
At first the pet sleeps outside, wherever it happens to be. The house is the long-term goal of the home: every pet that gets past the mountain’s guardian for the first time adds a step, and like the finds it stays from one pet to the next. So the whole house takes three pets.
| Step | Looks like | Spots inside |
|---|---|---|
| Hut | a dome of thatch with an open doorway; inside, a bed of leaves | 1 |
| Cabin | wooden walls, a thatched roof, a window with a flower box; inside, a straw bed, a blanket and a candle | 2 |
| House | a half-timbered house with a tiled roof and a chimney; inside, a real bed, curtains, a lamp and a picture of the old hut | 3 |
The house stands at the left of the garden, and the plant next to it. The pet sleeps inside, at night and for a nap: it hops to the door, gets smaller as it goes in, the door shuts and at night the light goes on. Then the panel shows the inside, where it comes in and lies down in its bed. In the morning it stretches, goes out and comes back into the garden. Everything else happens outside, rain or not. Through the window (in the hut, the doorway) the real sky shows, with the weather, the moon and the stars; at night the candle or the lamp keeps the room just bright enough to make out.
Each step has spots for decorations inside. Decorations go outside first, and what doesn’t fit there goes into the house; the snowman and the sandcastle always stay outside. A tap on the house in the app looks in for a moment, so what stands inside can be seen in the daytime too.
| Stage | Lasts | Notes |
|---|---|---|
| Egg | up to 1 hour | only warming helps; every time brings hatching forward by 15 minutes |
| Baby | 3 days | gets hungry and tired faster, can’t get sick |
| Child (Bloblet) | 7 days | keeps a care diary; grows a lure with a glowing bulb |
| Adult | forever | one of three forms |
When a stage is over, the pet sparkles and the app offers Hatch or Evolve. You hold the button while standing in front of the panel and watch it happen. If nobody does that for a day, an egg or a baby evolves by itself, unless it has gone to Grandma’s by then (see At Grandma’s).
A child never grows up by itself: you pick what it grows into. Once its seven days are over, the app asks once with the three adult forms of its line and Later; after that the child only sparkles, and Evolve opens the choice again whenever you like. The first form can always be picked. The second can be picked once the child has done what it takes, or any time once the home has had it; until then it is a “?”, and once the home has had an adult of the line, the “?” shows a small picture of what it takes, with a count where there is one. The third, secret form can be picked only while its rule holds, every time anew, and it never gets a picture. A child that waits keeps counting: what it does after its seven days counts too. Some forms need a moment, such as a night, the noon hour or the rain; for those, wait with Later until the moment comes. Only the forms the home raised itself count as had, not the ones only seen on trips.
Growing up can be sped up. A later pet may bring home the ember stone, a decoration that glows from inside. While it is set out, an egg, a baby and a child grow 30 % faster: the baby in about two days, the child in about five. A grown-up has no use for it.
The care diary of the child stage decides which forms it can pick: how well the pet was looked after, how often it was played with, petted, bathed and taught tricks, how often it went on a trip and how many scuffles it had. These count for the whole child stage, so a day away can be made up on the others. For some lines the world at the moment it grows up counts instead. Every line has a secret third adult form, the most impressive of the three: it takes a rare deed of the child or a rare moment when it grows up. Each form has a character of its own, with small effects on the game. From its second day on, the bulb on the child’s lure shows by its color which of the two usual forms it is heading for; it never gives the secret one away.
Three rare moments can be brought home as decorations, so they don’t depend on the weather alone: the moon lantern, which a shooting star leaves after the tenth evening with one, makes every night a full-moon night; the storm in a bottle, found once at the coast, brings a thunderstorm; and the sun stone, found once in the ruins, a hot day. Each works only while it is set out. The snow globe already brings snow.
Trails point the way to a secret form. Once the home has had both usual adults of a line and is still missing its secret one, stories and notes about it turn up: a friend or a garden guest tells one on a visit, a note lies at a quiet stop of a trip to an area where the line is at home, one comes up when digging or fishing, or Grandma tells one when the pet comes home from her with her things. Each line has three, each found once, in different places. The history shows a trail when it is found, and the album keeps them on the line’s page, a missing one as an empty line.
The forms, their characters and the rules for getting them are in pets.md. That page keeps everything folded shut that would spoil finding it out by yourself.
An adult stays forever. A new egg moves into a house of its own next to it (see Several pets at home); only when the home is full, you pick a pet that moves into the album, from where it can come home again.
The album is the long-term goal: to have had every form once. It has a page for each line, with a slot for each of its forms (egg, baby, child and adults), and a form fills its slot as soon as one of your pets has been it. A form not met yet stays an empty slot, with no picture and no name, and a line nothing is known of yet is an empty page: the album shows how many are still missing but not what they are or how to get them. A slot has three steps:
The album belongs to you, not to one pet: it stays when a new egg starts, and it travels with the pet’s file. A file from before the album fills it in from the pets kept in it.
A quiet safety net keeps no line out of reach for long: once you have kept pets for a month, the wild pets of lines whose egg never came meet your pet more often. Nothing shows it.
Not every egg is the same. A pet can bring a rare egg home from a trip (see Guardians). What hatches from it is not a slime: it is a line of its own, with its own baby, child and adult forms and its own rule for which adult it becomes. Everything else works the same for it. Some lines have no guardian’s egg: the only way to them is a friend of that line (see Friends). pets.md has the lines, folded shut.
An adult can also come by an egg itself: a friend brings one of its family (see Friends), and an adult that is close to you lays one of its own (see Its own egg). Such an egg carries an heirloom, and whatever hatches from it starts with that instead of zero. Its own egg gets a quarter of each battle stat of the pet, as they were when the egg came. A friend’s egg gets something from the friend instead: points in the battle stat its line is good at, more the longer the two are friends (see Friends); the pet that watches over it only adds a tenth of its own stats.
There are two ways to a new egg:
What stays, and what doesn’t. Everything the pets have found belongs to the home and stays: seeds, decorations, hats and eggs, the decorations that are set out, the plant and the house. That includes what is still in the backpack, an egg in the bed of moss and a gift that hasn’t been unwrapped. The new pet itself starts from zero: its stats, tricks, bond, friend and the areas it knows the way to; and its training too, apart from the heirloom of its egg.
An adult with a strong bond (four hearts or more) counts its good days: a day counts if its mood, over the time it was awake at home that day, was 60 or more on average (and it was at home for an hour at least). The days need not follow each other. A day at Grandma’s or on a trip all day doesn’t count.
After five good days, the next morning it wakes up at home, an egg of its own line lies in the bed of moss next to it, where a friend’s egg lies too, with its heirloom. It is collected the same way. While an egg is still lying there, or there are three eggs of its line in the bag already, it waits for a later morning. After an egg it rests for two weeks (time at Grandma’s doesn’t count); then the good days count again from nothing.
Up to four pets live at home, each in a house of its own along a street. So a favorite can stay while new eggs are raised for the album.
Getting together follows the clock only, so it is the same whether anybody is looking or not.
On the display the panel shows one pet at a time. It follows the pet last picked on a phone, and when two people play with different pets at once, it stays with a pet until that one has been left alone for half a minute. On the display’s settings page a pet can be pinned, so the panel always shows that one. A switch pans along the street there too.
The phone and the display each have a home of their own, with their own places. Connecting the app to a display moves no pet; the street strip shows the pets of both, the phone’s with a small phone sign. Away from home, with the display out of reach, the app shows only the phone’s own pets.
With two pets or more at home, the street ends in a yard, right of the last house. It belongs to the home, like the store, and the street strip ends with it; a tap there pans over, a tap on a pet pans back.
It all follows the simulation, minute by minute for all pets together, so who gets the last portion is the same whether anybody is looking or not.
With two pets or more, the street gets a playground after the yard, as soon as the first of its three pieces has been found on a trip: a swing from a tree branch (mushroom forest), a sandpit sunk into the ground (stream) and a seesaw (cave). Each piece is found once.
The pet can learn four tricks. A tap on the baton in the app’s tray opens the tricks in place of the tray: the four moves, each drawing itself one after the other until you draw one, how far each trick has got, and a star once the pet knows it. While they are open the baton is in your hand: draw the move over the pet and it tries the trick on the panel; stroking waits until they are closed.
Practicing costs energy and needs a break afterwards (below). A trick it already knows can be shown any time, for free and without a break; showing the same one over and over just cheers it up less each time.
| Trick | Gesture | Practice needed |
|---|---|---|
| Bow | swipe down | 3 points |
| Spin | a round circle, almost all the way | 5 points |
| Dance | back and forth, flat, at least twice | 7 points |
| Flip | swipe up | 10 points |
One practice is worth a point (up to one and a half with a strong bond). After each practice the pet needs a break before the next one, and that break is the only brake: two minutes, then ten, thirty, an hour and two hours if you keep going (counted over six hours), so learning takes a few days. You can see it: while it needs the break it sits down now and then, puffing and yawning, and doesn’t show off. At first the pet mostly flops over halfway; the further along it is, the more often it works. Once it knows a trick, it shows it off by itself now and then when it is in a good mood. While nobody is there, it practices a little on its own (see While nobody is there).
Every adult form, and some children, do one trick in their own way. It looks different on the panel, but the gesture and what it does are the same.
A tap on Hide & seek in the app’s tray starts the game. The pet hides, and you tap where you think it is. There are always three places to hide: past the left and the right edge of the panel, and in the tall grass. The house takes the place of the left edge, and so does the plant while there is no house; a plant, and the decorations outside, are places of their own, and with decorations out the right edge is taken by them.
You have three tries. A miss shows a cross over the spot. Now and then the pet can’t help peeking out: its head comes up over the roof or the grass, or it leans in from the edge. The smarter it is, the longer it keeps still (every 3 seconds at first, every 7 with full smarts). Each line has a favorite spot it goes for more often, and it never hides twice in a row at the same spot.
While a friend visits, or the neighbour is out with it, the two hide together and you have a try more; you win when you have found both. Found or not, the game counts as playing: it costs energy, cheers the pet up – more if you found everybody – and strengthens the bond.
The pet has three battle stats, each from 0 to 100. They only matter on trips, when somebody gets in its way. You train them from the app (the whistle in the tray, Train) while watching the panel:
| Stat | Exercise | In a scuffle |
|---|---|---|
| Strength | Swipe the stone up as hard as you can. The pet throws it as high as your swipe was fast. | a trick that works counts double more often |
| Speed | The pet crouches, and after two to five seconds a signal lights up above its head. Tap as soon as you see it – the Pi stops the time. | gets out of the way more often when a trick didn’t work |
| Smarts | The pet hops a sequence of directions (three at first, up to six). Swipe them back in the same order. | picks the right trick more often |
A perfect exercise is worth 4 points. Training counts as playing in the care diary, costs energy and a little satiety. Between two exercises, whichever they are, the pet needs the same growing break as between tricks (two, ten, thirty minutes, an hour, two hours); after it, an exercise counts in full again. A tap before the signal, or a sequence that is all wrong, brings nothing and costs nothing, not even a break.
A stat goes up a level every 25 points, so filling one, which takes weeks, comes in steps about as long as learning a trick. In the training each level is a star next to the stat, and the bar fills up towards the next one. Reaching one makes the pet proud (a little extra mood): at the end of that exercise it cheers on the panel with a star twinkling over it, and the diary notes it, also when it got there practicing alone.
Every home has a training ground from the start, after the houses and the yard: a red running track instead of the garden. Training happens there.
With the pond set out in the garden, the tray has a rod. Drag it onto the pet: it hops over to the pond and casts. After three to nine seconds the bobber dips under, and for two seconds a tap anywhere in the scene pulls the catch out. A tap before that reels in with nothing and costs nothing; miss the two seconds and whatever it was gets away. Now and then nothing bites at all, and after twelve seconds the pet reels in by itself.
Mostly it catches something to eat (a mussel or seagrass, which go into the bag), once an old boot that can be set out as a decoration, and rarely an egg. The egg can’t be missed: after fifteen catches at a water without it, the next one is the egg. A catch costs energy and a little satiety like a game, cheers the pet up and strengthens the bond. Fishing again and again soon after, fewer fish bite (the same falling-off as for playing). Angloop is a fisher by nature: with its lure something bites more often, and the rare things come up more often too.
On a trip to the stream, into the cave or to the coast, a rest by the water is a fishing break half of the time: the pet sits down with its rod and brings the catch home in its backpack. The lake in the cave has other things in it than the pond, the stream and the sea.
On a clear evening, somewhere between dusk and a little before bedtime, a shooting star now and then streaks over the sky: on about every third clear evening, and on every fifth without weather data. Rain, snow and a sky full of clouds have none. Whether one falls, and when, is decided by the day alone, so a Pi that was off or a phone app that was closed catches up the same evenings. If the pet is still up and at home, it looks up after it, shuts its eyes and makes a wish, with a sparkle over its head.
Nobody has to watch: the morning after (once a night has passed, or sixteen hours), what the star left lies in the garden, glinting now and then, until a tap picks it up. A star is the home’s: every pet at home sees it and wishes, but it leaves one thing, in the garden of one of them, and counts as one evening.
From the second evening with a shooting star on, an owl sits on the roof at night (without a house, on the fence) and watches with the pet. After the fifth evening it leaves a rare egg up on the roof, once for the home, and is gone.
Every second Saturday is the trick festival, all day. Three days before, its poster hangs on the fence, and now and then the pet goes over to it and hops in front of it, excited. A tap on the poster in the app opens it: the day on a calendar leaf, and what there is to win. The Trip tab has a line with the date that opens the same poster, also while the pet is away. On the day, the poster has four slots: tap tricks into them in the order it is to show them (it starts with its best ones), and To the festival sends it off, at any time of the day. Nobody sends it by six in the evening, it goes by itself with its best tricks. The festival is the day’s trip and takes about an hour. Babies and sick pets stay home, and a pet that is away on a trip or at Grandma’s misses it. With several pets at home, one goes for all of them: the first one sent, and once it is off, the poster comes down at every house. If nobody is sent, the one with the best chances goes by itself.
On the stage it shows its tricks one after the other to a jury of three wild pets from the areas it knows (from the meadow always). A trick works as often as it has been practiced (learned: always), and brings points:
| Trick | Points |
|---|---|
| Bow | 1 |
| Spin | 2 |
| Dance | 3 |
| Flip | 4 |
Every other trick that works brings one more, and a form’s own trick (see Tricks) counts double. 10 points are first place, 6 second, 3 third. The first two first places win a rare egg each; after that, the first place wins an egg of one of the jury’s lines. Second place brings a blue rosette, third a red rosette (decorations, one of each per home); everybody else, and whoever has its prize already, gets a honeycomb. The show is kept in the travel diary and can be watched again like a scuffle.
Now and then the pet finds a treasure map by the path, at the first stop without a scuffle (one trip in ten; the first one for sure on the pet’s third trip). There is only ever one at a time. While it is in the bag, a small red cross is marked in the garden. Drag the map onto the pet: it hops over to the cross and digs (costs energy like playing), then holds up what it found. The map is used up.
From the child stage on, the pet can go on a trip: the app’s Trip tab is the packing, pick where to and what comes along, and send it off. It needs to be awake, healthy, reasonably fed and rested, back well before bedtime, and it won’t leave in a thunderstorm. Woken early in the morning, before bedtime is over, it may already set off.
Packing, you pick the destination and up to two things to take along: the pet’s ball, or something to eat from the bag. Nothing comes out of thin air, so what goes into the backpack is taken from the bag, and what isn’t used goes back into it when the pet comes home. Packing also shows the hearts it would set off with.
A trip takes one to one and a half hours. The panel shows the pet hopping through the landscape, stopping now and then to rest or to hold up something it found. If it gets too tired or hungry, it turns back; you can also call it home. A second trip on the same day finds less.
Every trip goes into the travel diary (in the Diary’s history): where the pet went, on which day and for how long, what it found, whom it scuffled with and how that went, a wild pet it met, and whether it ate something from the backpack or turned back. It keeps the last 30 trips of this pet; a trip it was called straight back from doesn’t count.
Back home, it keeps the backpack on until you tap the pet – so you are there to see what it brought:
Food – every area has one kind, and up to three of each are kept in the bag. It fills the pet up a little; what it is worth carrying home for is what it does. Three of them work from the backpack, on the trip they are packed for; eaten at home, they only fill it up. The other two are eaten at home and wait in the pet until they are used:
| Area | Food | What it does |
|---|---|---|
| Meadow | Honeycomb | packed: one more heart on the trip |
| Mushroom forest | Hazelnut | the next trick practice counts double |
| Stream | Watercress | the next training exercise counts double |
| Cave | Glow berry | packed: it finds something at every stop where nothing else happens |
| Mountain | Pine cone | packed: the trip doesn’t tire it or make it hungry, and brings as much as the first trip of the day |
| Coast | Mussel | packed: one more heart on the trip, like honeycomb |
| Ruins | Castle bread | packed: like the pine cone |
The mussel also comes out of the water (Fishing), and so does seagrass, which works like a hazelnut. On the beach the pet finds mussels more often at low tide.
Hazelnut and watercress don’t add up: while one is still waiting, the pet won’t eat the same food again. Nothing is combined or cooked, and the plant stays the one that feeds the pet by itself.
What there is to find depends on the area and on the real weather: some things only turn up in rain or snow. Every decoration and every hat exists only once, and finds are kept from one pet to the next, so a later pet brings home what is still missing. When packing for a trip, each open area shows what there is to discover there once (its guardian’s egg, its decorations and hats) and its guardian: in color what has been found or beaten, as a gray outline what is still waiting. Seeds and food come again and again and don’t show there. Where wild pets of a line live, pawprints show whether one of a line the home has never had is still out there (gray) or not any more (in color).
Areas. There are seven. Five open up one after the other: the meadow, the mushroom forest, the stream, the cave and the mountain. Behind the mountain the path forks: the coast and the ruins open up together, and the pet can go to either first; neither one stands in the way of the other. Only the meadow is open from the start. Each area has a guardian, and the way on leads past it (see Guardians); when packing, the two areas behind the mountain are set in under it. The healing herb only grows in the cave and on the mountain. Inside the cave there is no sky and no weather.
Three finds are for the training ground: the training cones on the meadow, the coach’s board in the mushroom forest and the barbell on the mountain. Three more are for the playground: the swing in the mushroom forest, the sandpit at the stream and the seesaw in the cave.
Four finds are for the yard: the water basin at the stream, the rain barrel there too (only while it rains), and the planks at the coast and in the ruins, which only turn up once the area’s guardian has been got past and its egg has been brought home. The guardian itself only gives the egg.
Every line has a keepsake. Once the home has had all three adult forms of a line, the next pet to come home from a trip finds that line’s keepsake in its backpack, once per home. The slime line’s is the jelly lamp; which keepsake belongs to which line is in pets.md.
A keepsake is a decoration that does one small thing for the pet that has it set out, outside or in the house, and only while it is set out: a need drops about 15 % more slowly, a training counts 15 % more, a chance comes up 20 % more often, and so on. The jelly lamp, for one, makes the mood drop more slowly. In the bag a keepsake carries a sign for what it does and names it in a few words. With two spots outside and at most three in the house, which ones stand there is a real choice. The block of ice and the fountain only stand outside.
At roughly every third stop on a trip, somebody is in the way:
| Area | Opponent | Favorite move |
|---|---|---|
| Meadow | Bumblebop, a fat bumblebee with a boxing glove | pounces |
| Meadow | Molamp, a mole with a miner’s helmet and lamp | charges along the ground |
| Meadow | Carrotopsy, a snowman stacked upside down, its carrot pointing backwards (only in snow) | curls up |
| Mushroom forest | Shroomhog, a hedgehog that carries a toadstool on its spines | curls up |
| Mushroom forest | Drizzail, a snail with a rain cloud for a shell (only in rain; tougher than the others) | charges along the ground |
| Stream | Ribbop, a frog whose throat is a bubblegum bubble | pounces |
| Stream | Crankrab, a wind-up toy crab with a key in its back | charges along the ground |
| Stream | Puddlin, a puddle with a paper boat for a hat (only in rain; tougher than the others) | charges along the ground |
| Cave | Gramobat, a bat with ears like gramophone horns | pounces |
| Cave | Geodle, a beetle that is a geode: a plain gray stone when it curls up | curls up |
| Mountain | Rollabit, a mountain hare with a lost mitten pulled over one ear: curled up, it is a snowball | curls up |
| Mountain | Belibex, an ibex with a big cowbell | charges along the ground |
| Mountain | Dandeglow, a dandelion seed that glows and drifts (only around sunset; tougher than the others) | pounces |
| Coast | Snagull, a gull that has snatched a carton of chips | pounces |
| Coast | Strollfish, a starfish that walks on two arms; it rolls up into a ball | curls up |
| Coast | Jellybrella, a jellyfish that is an umbrella (only in rain; tougher than the others) | curls up |
| Ruins | Halberat, a rat on guard with a kettle helmet and a halberd | charges along the ground |
| Ruins | Ivycurl, a creeping ivy whose first leaf has a face; it rolls up into a wreath | curls up |
| Ruins | Drapparition, a ghost made of an old velvet curtain (only around sunset; tougher than the others) | pounces |
Some only come out in the real weather, or in the three quarters of an hour before and after the real sunset. When they can come out, they are twice as likely to turn up as the others.
The pet always deals with them alone – a scuffle, not a fight, and you can’t help while it lasts. Everything you can do happens beforehand: care, training, tricks and what goes into the backpack. The panel shows up to five rounds. In each one the opponent makes a move, and the pet answers with a trick:
| The opponent | The trick that answers it |
|---|---|
| pounces | bow (it ducks) |
| charges along the ground | flip (over it) |
| curls up | spin |
An opponent gives in after three hits (Drizzail, Puddlin and the ones in the cave, on the mountain, at the coast and in the ruins after four; Dandeglow, Jellybrella and Drapparition after five) and leaves something behind, if there is anything left to find. The pet gives in when it has been knocked over three times. If neither happens within five rounds, they go their own ways.
You can watch a scuffle again in the app, the way the panel showed it: the scuffles of the last trip from the home screen, until the next trip sets off or you have seen them, and the latest ten from the diary, where each one has a ▶.
Not everybody on a trip is in the way. An adult that has no friend yet, or whose friends have all brought it an egg (see below), sometimes meets a wild pet, a grown-up of some line that lives out there. There is no scuffle: the pet shows three of its tricks, and the wild pet watches.
A friend comes to visit: it hops in on the panel, stays for ten minutes and leaves again, once or twice a day while the pet is at home and awake. A visit counts if the pet is in a decent mood when the friend leaves (mood 50 or more); it cheers the pet up a little, too.
While the friend is there, the two play: a game, a little rest side by side, the next game. They throw a ball to and fro, the friend copies a trick the pet shows it (each in its own way), they hop in step and then by turns, or they play hide and seek: one ducks into the tall grass, the other counts with its eyes shut, looks around, and the one hiding jumps out. The pet only joins in when it is in a decent mood, awake and not busy with something else; otherwise the friend waits by its side. Playing is something to watch; what counts for the visit is still the pet’s mood when the friend leaves.
Now and then a visit that counts brings a gift. The friend leaves it on the ground, wrapped, and it stays there until you tap it; no new one comes while it is lying there. Mostly there is a fruit in it, of the same kinds as the plant’s, and it goes into the bag (if there are three of it already, the pet eats it straight away). Rarely it is a seed, as long as there are fewer than nine of that kind. The visit that brings the egg brings nothing else; the egg is the present then.
After five visits that counted, the friend brings an egg of its own family and entrusts it to the pet: it lays it in a bed of moss and leaves. The egg is always of the friend’s line, and it carries the friend’s gift: points in the battle stat its line is good at, 5 with the first egg and 5 more with every egg after it, up to 20 from the fourth on. The pet watches over it and adds a tenth of its own battle stats (see Growing up). The egg waits in its bed of moss until you tap it; then it is in the bag, to be brooded whenever you like. While an egg is still lying there, or there are three eggs of the friend’s line in the bag already, the next one waits.
The friend stays after that. It comes less often, about once a day, still plays and still brings a gift now and then. For two weeks after an egg its visits don’t count; after that, five more that count bring the next egg. So a friend brings an egg about every three weeks at most.
Once all its friends have brought it an egg, the pet can make another friend on a trip, up to three. They come one at a time, never straight after each other.
Which wild pets live where is in pets.md, folded shut. A line whose egg one of the guardians up to the mountain gives is never among them.
Some lines live nowhere on a trip. Their pets come to the garden by themselves, when something there draws them: a decoration that is set out, the plant, the weather at home, or how the pet spends its days with you. Which guest comes for what is in pets.md, folded shut.
Once something draws a guest, it first peeks over the fence for a few hours, at the right edge of the garden. Then it comes in, and from then on it is a friend like one from a trip: it visits, plays, brings gifts and, after five visits that count, brings an egg of its own line, like every friend. A guest comes to a pet only once, one at a time, and doesn’t take the place of a friend from a trip. A pet that is still a baby or a child gets guests too.
A home that has had many lines gets an uninvited visitor now and then. She comes by day, at most a few times a week and never two days in a row, and only when a decoration stands outside: she takes it and flies off with it. An hour later she brings it back, puts it where it stood and bows.
A strong adult at home and awake doesn’t let her: it chases her off, a scuffle you can watch, and she drops what she took. Who she is, and what she leaves after being chased off often enough, is in pets.md, folded shut.
Every area has a guardian. It is twice the size of the others and waits at the end of the path: at the last stop of a trip, if the pet gets that far. A scuffle with a guardian works like any other, with three differences: it lasts up to seven rounds, a ball doesn’t distract it, and it takes more hits.
| Area | Guardian | Favorite move | Gives in after |
|---|---|---|---|
| Meadow | Crownster, a rooster whose comb is a crown | pounces | 4 hits |
| Mushroom forest | Boulderoad, an old toad whose back is a mossy boulder | curls up | 5 hits |
| Stream | Breakerino, a cocky water drop with a breaking wave for a quiff, surfing on its own wave and twirling a hoop | charges along the ground | 6 hits |
| Cave | Gloompeep, two big glowing eyes in the dark | pounces | 7 hits |
| Mountain | Bobbleti, a yeti that is a giant bobble hat | charges along the ground | 8 hits |
| Coast | Whistlion, a sea lion on lifeguard duty, with a red cap, a whistle and a life ring | charges along the ground | 9 hits |
| Ruins | Visnail, an empty suit of armour; a snail lives in it and now and then looks out of the visor | curls up | 9 hits |
Once the pet has got past a guardian, it knows the way to the areas behind it, and that guardian lets it pass from then on. A draw or a lost scuffle changes nothing: the guardian is there again on the next trip. A child with two tricks can get past Crownster with some luck; for the later ones the pet needs its tricks and a good deal of training. Progress counts per pet: a new egg starts in the meadow again.
Every guardian has been sitting on a rare egg. A guardian leaves its egg behind the first time a pet gets past it, so every pet can earn it once. If the pet got past it before (or there was no room for another egg), the egg waits at the end of the path on a later trip to that area. Getting past the mountain’s guardian adds a step to the house (see The house).
Hearts. The pet sets off with one to three hearts, depending on its condition that day (the average of satiety, energy and health: two hearts from 45, three from 75), and a honeycomb eaten before adds one. Packing shows them, so a pet can be fed first to set off with more. A lost scuffle costs one. At zero it heads home – merely tired, and it keeps what it has already found.
The pet has a life of its own. Every one to two hours, when it is awake, at home, healthy and not too tired, and nobody has done anything with it for a quarter of an hour, it finds something to do:
Traces. What it did alone stays in the scene, so that somebody walking past the panel sees that something happened: the ball lies where it rolled, the tower stands, the drawing stays in the ground, the snowman stands in the snow. There is only ever one: as long as something lies around, it doesn’t build anything new (playing with the ball again only moves the ball). It stays until somebody does something with the pet, from the app or on the Pi; a snowman also melts once it is warmer than 3 °C. It doesn’t step in front of what it left behind, so it can be seen.
None of this counts in the care diary, so it doesn’t change which form a child grows into. Like everything else, it happens in the simulation: what the pet did is the same whether or not anybody was looking at the panel.
Finds at home. Now and then, about once a day, the pet finds something small at home by itself: mostly a fruit of the plant’s kinds, rarely a seed (as long as there are fewer than nine of that kind). It works like a friend’s gift, but it isn’t wrapped: it lies next to the plant, in front of everything else, until you tap it, and nothing new turns up while it is there. Like a gift, it goes into the bag. Unlike what it builds, it stays when somebody does something with the pet, and it is kept for the next pet. A baby finds things too.
Habits. The pet notices when it is usually fed or played with. A time of day becomes a habit when somebody fed it, played with it or started the hide and seek at about that time (within half an hour) on at least three of the last seven days. About twenty minutes before such a time it goes to the nearer edge of the panel and waits there, leaning out and now and then on tiptoe, until its meal or game comes, or the time has passed. Once it has been fed or played with in the last hour, it doesn’t wait. It only waits when it is awake, at home, healthy and not busy, and it shows this only by how it stands: no icon, no need and no message, so it never nags. What it does by itself never makes a habit; only what a person does counts.
Back after a while. The Pi remembers when somebody last did something with the pet, from any phone. If that was six hours ago or more, the app tells once, when it is opened, what happened in the meantime: what the pet did by itself, fruits it ate, visits, trips and what came of them. The night counts too, so it also has something to tell in the morning.
The pet tells it as a little story in its own words, a paragraph for each day (the last three at most): up to three sentences, the things that matter most (growing up, an egg, a new way, a friend, a scuffle) before the small ones (a fruit, the ball), told in the order they happened. Rain or snow while it was alone opens the day (“It rained in the morning, so I sat under my umbrella”). If it was at Grandma’s, her postcard says how long it stayed with her and what they did together.
It calls you. In the app from the stores, with the pet on the phone, it calls with a notification when it needs you: once it is really hungry, dirty or sad (the stat is critical), or when it is sick. Only for something new: a need it already had when you left the app doesn’t count, and neither does tiredness (it goes to sleep by itself) or a single poop. Only one call is ever waiting, and never at night: a need that comes up while it sleeps or at bedtime waits until it is up in the morning. Opening the app takes the call back. The app asks whether the pet may call the first time you feed it. The pets at a display don’t call: the app can’t know what happens there in the meantime, and somebody else may already have seen to them. The phone’s own pets call also while it is connected.
When nobody has done anything with the pet for a day and a half (from any phone), it goes to Grandma’s, so that a week away doesn’t leave it hungry and sick for days. Somebody who comes once a day keeps looking after it themselves. It hops off to the right as soon as it is awake and at home: in the morning if it is asleep, after the trip if it is on one. An egg goes too. With several pets at home, each one goes by itself, when nobody has done anything with it. With the Pi off, or the app closed with the pet on the phone, it is the same as if it had been running.
You can also take it there yourself, before a holiday or a busy week: the Trip tab has Take to Grandma’s (from the baby on, while it is awake, at home and has nothing left in its backpack). It stays just the same, frozen, until you fetch it. Grandma rewards a visit, not being forgotten: after a whole day there it comes home with her things in its backpack, at most once every three days, and nothing if it went because nobody came:
Five tabs along the bottom: the pet (named after it), Trip, Diary, Album and More. Outside the pet’s own screen, nothing is about the pet on screen without showing which one it is: the trip page and the diary have the pets in a row at the top, the one they are about framed, and a tap picks another; the album belongs to the whole home.
The phone buzzes softly with the pet’s answers (in the app from the stores, and in a browser that can vibrate; the phone’s own vibration setting applies): a light tick for a hand on the pet and for a step of an exercise, a short one when it does what it was asked, a double one when it won’t, a longer one for something new (a trick learned, a big step in training, a game won) and a firm one when it evolves. Plain buttons and menus stay still, and quick strokes are spaced out, so it stays a touch and not a rattle.
With each buzz comes a short sound, a soft chiptune effect that fits the
pixels: a boop for a tap on the pet, a plop when a thing lands, a little
fanfare for a trick learned or a game won, a lullaby when it goes to bed.
Both come from one call in the page (feel in app/pet.html). The sounds
are small WAV files in app/pet/sounds/, built into the app’s script and
played by app/src/sound.ts; like the sprites they are generated, by
npm run sounds from the recipes in tools/sfx.ts. They can be turned off
under More. With a Pi they come from the phone too; the Pi stays silent.
Connected to a Pi, the screen is the same; for a pet of the display, the scene is then the panel’s own picture. Those pets live on the Pi: they go on with their day and can be looked after there while the phone is off.
On the phone the same page is the Blobling app from the stores, which can keep its own pet or connect to a Pi; the README explains how.
| Part | Where |
|---|---|
| Stats, decay, actions, sleep | core/src/model.ts |
Life cycle, lines and adult forms, the album’s forms (FORMS), the choice when a child grows up (choices) |
core/src/life.ts |
| Trails to the secret forms: where each is found, how often | core/src/trail.ts, Pet.trailLines in core/src/pet.ts, texts under trails in app/locales/ |
| The decorations that bring a rare moment (moon lantern, storm in a bottle, sun stone) | MOMENT_DECO in core/src/home.ts |
| Weight, bond, hide and seek, tricks | core/src/care.ts |
| Trips, areas and where the path forks, what is found where, the tide at the coast | core/src/trip.ts |
| Fishing: the bite, the tap, what comes up where | core/src/fishing.ts |
| Shooting stars, what they leave, the owl | core/src/stars.ts |
| The trick festival: its days, the show, the points, the jury, the prizes | core/src/festival.ts |
Treasure maps and digging, the diggers by nature (DIGGERS) |
core/src/digging.ts |
| What is eaten from the bag, each form’s favorite and dislike, and what food from trips leaves in the pet | core/src/food.ts |
| Wild pets, friends, visits, their gifts, the egg a friend brings and the heirloom | core/src/wild.ts |
| The pet’s own egg: good days, the egg in the morning, the rest after it | core/src/brood.ts |
| Guests in the garden: what draws them, peeking over the fence | core/src/garden.ts |
| The troublemaker: when she comes, what she takes, being chased off, her egg | core/src/magpie.ts |
| Battle stats, training, opponents, guardians, scuffles | core/src/battle.ts |
| The training ground: going over and back, the equipment, practicing alone | core/src/ground.ts, renderGround in core/src/scene.ts |
| A scuffle (or a show at the trick festival) watched again in the app | app/src/replay.ts |
| Keepsakes of the lines: which line has which, what each does, when one comes home | core/src/keepsake.ts, Pet.completeLines in core/src/pet.ts |
| Seeds, plant, food, decorations, hats, eggs, warmth (the ember stone, cold mornings), hot afternoons, the house and its spots | core/src/home.ts |
| What it does by itself, what it leaves behind or finds at home, and what it tells when you come back | core/src/idle.ts |
| Going to Grandma’s, staying there frozen, and being fetched | core/src/model.ts (GRANDMA_AFTER, comeBack) |
| A visit to Grandma’s on purpose: her hats, her cake and the attic | core/src/grandma.ts |
| The story it tells when you come back, and Grandma’s postcard | core/src/story.ts, texts under page.story in app/locales/ |
| When it calls for you next, and the app’s notification for it | core/src/notify.ts, app/src/notify.ts |
| Habits: the times it is usually fed or played with, and waiting for them | core/src/habits.ts |
Catching up, the state for the app, what is saved, pets in the album (kept frozen, and coming home again), the album (seen, had, mastered) and its safety net (longMissing) |
core/src/pet.ts, core/src/state.ts |
| Several pets at home: the houses, the shared store, places for a new egg | core/src/pet.ts (PLACES, newEgg, bringBack) |
| Neighbours getting together, sleeping side by side, copying tricks | core/src/companion.ts |
| The playground: its pieces, who meets there, what it brings, the sandcastle | core/src/playground.ts, Pet.playgroundPair in core/src/pet.ts, renderPlayground in core/src/scene.ts |
| The yard: trough and basin, portions, sizes and upgrades, the visits and the floors; all pets stepped together | core/src/yard.ts, core/src/model.ts (advanceTogether), renderYard in core/src/scene.ts |
| Moving between a phone and a display: move numbers, the sealed copy, fetching back | core/src/pet.ts (release, adopt, handOver, takeIn, fetchBack), app/src/main.ts |
The camera panning along the street (panel and app), the places after the houses (PLACES), and which pet the panel shows |
core/src/street.ts, pi/src/display.ts |
| Everything drawn on the panel | core/src/scene.ts, sprites in app/pet/assets/ |
| Pixel art as text → sprite sheets | tools/build_blob_sprites.py |
| Preview of the scene on a PC, pictures for pets.md, the yard | tools/pet_preview.ts (npm run preview, -- --yard) |
| Checking the values: pets played for weeks with owners of different kinds; pets left alone with the yard | tools/balance.ts (npm run balance, -- --yard) |
| Checking the collection: a whole home played for months, egg by egg | tools/collection.ts (npm run collection) |
| The phone app: the page, and where its pet lives (on the phone or on the Pi) | app/pet.html, app/src/ |
| The Pi’s side: web server, display loop, save file | pi/src/ |
The game logic and the scene are plain TypeScript without any package
(core/): they know nothing about files, networks or the panel, and are
covered by the tests in core/test/. The app talks to its pet through a
small JSON API under /api/pet (core/src/api.ts): the Pi answers it over
HTTP, and when the pet lives on the phone the app answers it itself. The state
says which actions make sense right now, so no game rules live in the page,
and a refused action is a normal answer (accepted: false with a reason), not
an error.
On the Pi the save file is /var/lib/led-matrix/pet.json, written atomically
after every action and every five minutes. The settings page downloads it and
loads one in its place (the replaced pet is kept once as
pet.before-load.json). In the app the same save file is a file in the app’s
data folder, which the phone’s backup takes along to a new phone; in a browser
it is kept in IndexedDB.
How a new form of the pet or a new opponent is designed and built. The rules come from reworking the adult forms: next to a Pokémon, the first versions looked plain, mostly an object with a face. The examples here are the slime and Angloop, because the other forms are for players to find out (they are in pets.md, folded shut).
A new creature should make you think “that one is different”.
FACES). The eyes carry the
character more than anything else: their shape, the lid, a brow, the
pupil (round, a slit, sideways). Its normal look is its character, not a
neutral face: Angloop grins and shows two fangs. Small extras help: a
crooked tooth, fangs, nostrils, cheeks only where they fit.walk animation). One that jumps by nature, like a toad, walks and
hops now and then (WALK_HOPS), and its jump frame shows how it jumps:
the hind legs stretch out. Jumps for joy stay jumps for everyone.OWN_TRICKS: a creature with
wings flutters through its flip; the gesture and the effect stay the
same), in its special move in a scuffle, or now and then while it stands
around. Every adult form has one trick of its own and a special move
that no other form uses: a move of its own (special) and its own
particles (hit).tools/build_blob_sprites.py, and render it large: every face, every
pose (idle, squash, stretch, flat, sleep, walk). Put the old and the new
version side by side.HEADING), and its light then comes from the
top right. A round one only turns its face.npm run preview: with hats, in
the rain, on a trip, as a visitor and as a wild pet coming in, and as a GIF
for the movement.For an adult form with pixel art of its own:
| What | Where |
|---|---|
Palette, pixel grid, where the face sits (*_FACE_TOP) |
tools/build_blob_sprites.py |
Poses: species_tags (it also derives lookout_left/lookout_right, for waiting at the edge), a walk with walk_tags, a jump or trick frame of its own (stretch, flutter) |
tools/build_blob_sprites.py |
Eyes, mouths, *_FACES with every name of FACES, a *_face_grid function |
tools/build_blob_sprites.py |
write_sheet for the body and the faces, and the list at the top of the script |
tools/build_blob_sprites.py |
| Body and face sheet | SPECIES_SHEETS in core/src/scene.ts |
A face that is not to sit in the middle of its row (faceTop, faceCenter, faceShift in write_sheet) |
tools/build_blob_sprites.py, faceAnchor in core/src/sprites.ts |
| Colors of the child’s lure, walking and hopping, umbrella, where its hat sits, special move | LURE_HINT, WALK_HOPS, NO_UMBRELLA, HAT_SPOTS, special and hit in core/src/scene.ts |
| Which way it looks as drawn, if its head is on one side (it turns round as a whole) | HEADING in core/src/scene.ts |
| A trick in its own way: the same gesture and effect, another animation | OWN_TRICKS in core/src/care.ts and trick in core/src/scene.ts, frames of its own if it needs them |
| Tests: every form in every state, how it moves, where the face sits | core/test/scene.test.ts, core/test/sprites.test.ts |
| Text and picture, spoilers folded shut | pets.md, npm run preview -- --pets |
Run python tools/build_blob_sprites.py after every change to the pixels, and
npm test && npm run check before committing.
The pet is the biggest thing on the panel: a baby is about 16 pixels wide, a child about 26, an adult about 30, with heights of 12, 22 and 27. Whatever it eats, holds or uses is drawn against that, so that it does not look like a doll’s toy. The yardstick is the child, the stage seen longest; a baby next to the same things looks small and sweet, which is fine.
| Kind | Size | Examples |
|---|---|---|
| What it eats | a mouthful that can be seen: 6–8 pixels | fruits from the plant, food from trips |
| What it plays with | about a quarter of the child: 5–7 pixels | the ball |
| What it carries over itself | at least as wide as its body: chosen per form | the umbrella (UMBRELLAS in core/src/scene.ts) |
| What it carries on its back | about a third of its width: chosen per form | the backpack (PACKS) |
| What it wears | about half the child’s width (13–17 pixels); a baby wears a small one (hat_*_small) |
hats |
| What it sits at or goes into | about as wide as the child | the pond; the trough and the water basin (16, 20 and 24 pixels by size) |
| What grows | a bush or a herb below the child, a tree or a sunflower above it | the plant |
| Decorations | 7–12 pixels: things in the garden, not furniture for the pet | the windmill, the snow globe |
| What it trains with | made for the pet, not a doll’s toy: up to the child’s width, or taller than it | the barbell on its rack (19 wide), the coach’s board (16 wide, 27 high), the cones (7) |
| What it plays on | big enough to carry it: about the child’s width or more | the swing’s seat (17), the seesaw (33), the sandpit (25) |
A hat sits on the head, never on what makes the form: the lure, a crown,
a flame or a rotor stays visible. Where the top of a form is such a thing,
HAT_SPOTS in core/src/scene.ts moves the hat: onto the head behind
the lure or the rotor, or, for a crown or a flame, the small hat cocked on
the side of the head. A new form gets a look with a hat on before it is
done.
Food lies at the edge of the pet’s body, not of its frame, so that a wide
adult does not hide it (reach in core/src/scene.ts). Something wider
than the space at the right edge moves in from it (decoX), and what lies
flat on the ground is drawn behind the other decoration.