Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
Prompt libraryNovember 22, 20266 min read

A Prompt for a Virtual Pet Game

A virtual pet is a small creature and a few clocks. This brief sets the clocks so the pet is happy to see you, not angry you were gone, and gives the agent the moods, stages and care actions.

Startbase Team
Editorial ink illustration of an egg-shaped keychain toy beside a food bowl and a ball of yarn, the yarn ball in ember orange

Key takeaways

  • Give each need a decay rate per hour. Four needs at different speeds create a routine without nagging.
  • Never let the pet die. A sleepy, sad pet that perks up on your return keeps people coming back; guilt makes them leave.
  • Growth stages over real days are the long-term reason to return. Let care shape what the pet becomes.

Here is a complete prompt for a virtual pet game you can paste into Startbase: a small creature with four needs that slowly fall in real time, care actions that refill them, moods you can read from its face, a catch-the-treats mini-game for coins, and growth from egg to adult over five days that depends on how you cared for it. The brief is careful about one thing above all: what happens when you are away. The pet gets sleepy and a little sad, never sick or dead, and it is clearly happy when you come back.

The brief to paste

Make a virtual pet game for phones (portrait), also playable on desktop, in a soft, rounded hand-drawn style with pastel colors. The pet is a small original creature (a round, fluffy blob with big eyes and tiny feet). Needs, each 0 to 100, falling in real time even when the game is closed: Hunger falls 8 per hour, Fun 10 per hour, Energy 6 per hour while awake, Clean 4 per hour. Care actions: Feed (choose a food: apple +20 hunger, cookie +10 hunger and +10 fun but -5 clean), Play (opens the mini-game), Sleep (lights off, energy rises 25 per hour, other needs fall at half speed), Wash (drag a sponge over the pet: bubbles, +40 clean). Petting: stroking the pet with a finger or the mouse makes it purr and adds a little fun. Moods are computed from needs and shown on the pet's face and body: happy (all above 60), content, hungry, bored, sleepy, grubby, and sad when two or more needs are below 20. Floor: no need can fall below 10 while the player is away, and the pet can never get sick or die. When the player returns after more than 4 hours, the pet wakes up, runs to the front and does a happy bounce before showing any needs. Growth: egg (hatches after 10 minutes of first play), baby (day 1 to 2), child (day 3 to 4), adult (day 5); each stage has a bigger, more detailed look. The adult form is one of three, decided by care over the child stage: mostly play gives a bouncy, sporty form; mostly feeding and petting gives a round, cuddly form; balanced care gives a sparkly form. Mini-game: Catch the treats, 30 s, the pet moves left and right at the bottom while treats and the odd rock fall; treats give coins, rocks end the streak; +30 fun at the end. Coins buy foods and two decorations for the room (a rug and a lamp). Room: one cozy room with the pet in the middle and the needs as four small icons with rings at the top. Notifications are not part of v1. Controls: everything is tap, drag and stroke; on desktop, click and drag the same way. Feel: the pet blinks, breathes and looks at where you touch, squishes when tapped, and has a small reaction for every action. Sound: soft squeaks and chirps for the pet, gentle music box loop, a munch for eating. Save everything in the browser, including the time of the last visit. Screens: hatch screen, room, food picker, mini-game, shop, a care diary that shows the last 7 days.

Why the brief is built this way

  • Decay rates per hour. Four needs at different speeds mean something is usually worth doing on every visit, but nothing needs attention every few minutes. The rates in the brief bring a well-cared-for pet down to about half in five to eight hours. The virtual pet guide covers needs and daily return loops in more depth.
  • Offline decay with a floor. Needs fall while the game is closed, calculated from the saved time of the last visit. The floor of 10 is the kindness rule: a weekend away leaves a sleepy, hungry pet, not a disaster.
  • The happy return. The first thing a returning player sees is joy, not a list of failures. That moment decides whether people come back tomorrow.
  • Moods from needs. Players should read how the pet feels from its face, not from numbers. The numbers still exist in the rings for players who want them.
  • Growth shaped by care. Three adult forms give a reason to care in a particular way and to start again with a new egg. Five days is long enough to feel earned and short enough to finish.
  • A small mini-game. Play needs something to do. A 30 second catch game is easy to build, easy to learn on a phone and earns coins, which links play to the shop.
  • No notifications in v1. Reminders to come back belong to a later version, and they need to be kind and rare. A web game in a browser also has fewer ways to send them than an installed app.

The first three follow-ups

  1. 01Test time away. Add a hidden debug panel (opened by tapping the room's clock 5 times) that moves time forward by 1, 4, 12 or 48 hours, so I can check the return, the floor and growth without waiting. Remove nothing else.
  2. 02Make the room mine. Make the room's furniture and decorations things I can arrange in the World Editor, and let the player move the rug and lamp they bought with a long press and drag.
  3. 03Add a second mini-game. Add Hide and seek: the pet hides behind one of 3 cushions that shuffle; the player taps the right one to win coins and fun. Three rounds, faster each time.

The debug panel in the first follow-up is the most useful thing you will ask for in this project. Real-time games are slow to test by hand, and the return experience is the part that matters most. Ask the agent to remove the panel, or hide it behind a setting, before you publish.

Variations

A pet that lives in a 3D garden

Ask for a 3D low-poly garden where the pet wanders, with a camera you rotate by dragging and care actions as objects in the garden (a bowl, a ball, a bed, a pond). Keep the needs, floor and growth. The low-poly 3D art guide helps keep the look consistent. It looks richer and costs more to build and to keep smooth on phones.

Pets that visit each other

Add player accounts with a backend (Startbase Cloud auth) and a friend code: visiting a friend's room lets your pet play with theirs once a day for a fun bonus for both. Accounts mean the pet also lives across devices. It is a bigger step, so take it after the single-player version is loved.

What usually goes wrong

  • Needs crash after a long absence. The offline calculation ignores the floor or the sleep rule. Ask: "When the game opens, apply the time away in one step with the hourly rates, then clamp every need to at least 10, and show the happy return."
  • The pet is sad every time you open the game. Rates are too fast for real life. Say how often people should visit: "A pet cared for at 8 in the morning and 8 in the evening should never drop below content." Then tune.
  • Growth happens all at once on return. If you were away for two days, the pet jumps two stages. Ask for at most one stage change per visit, with a short evolution animation.
  • Stroking scrolls the page or selects text on phones. Games are built to stop that during play, but if it happens in the room view, report which gesture and which phone.
  • The pet looks different in each stage art. Ask for all stages to be generated from the same description, colors and eye shape, and to check them side by side.

Keep it kind

Pet games work on attachment, which is why the brief avoids guilt and punishment. If you later add streaks or rewards for visiting, keep them generous: a missed day should cost little. Saving is local to the browser in this version; for how progress can follow a player across devices later, see saving game progress. Publish it, adopt your own pet, and see if you want to open it tomorrow. That is the test.

Frequently asked questions

Does the pet keep changing when the game is closed?

Yes, by calculation. The game saves the time of your last visit and, when you return, applies the hours away to every need at its rate, then clamps them so none falls below 10.

Can the pet die?

Not in this brief, on purpose. A pet that dies or gets sick while you are away makes people feel guilty and stop playing. Here it gets sleepy and a little sad, then cheers up when you return.

Can the game send reminders?

Not in this first version. The pet waits in the browser for your next visit. Reminders are a later addition that should be kind and rare.

On this page

  • The brief to paste
  • Why the brief is built this way
  • The first three follow-ups
  • Variations
  • What usually goes wrong
  • Keep it kind

Keep reading

More in Prompt library
Editorial ink illustration of an open seed packet beside a wooden hoe and a watering can, one sprouted seed in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Cozy Farming Game

Paste this brief to get a calm, playable farm on the first build: four crops with real numbers, an eight-minute day, two seasons and controls that work under a thumb.

7 min read
Editorial ink illustration of an iron dungeon key, a die and a skull candle holder, the candle flame in ember orange
Prompt libraryNovember 22, 2026

A Prompt for a Roguelite Dungeon Crawler

One brief for a top-down roguelite that is fun on the first build: a dodge with real frame values, enemies that telegraph, relics that change runs and a hub that keeps progress after death.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.