Horizontal

All prompts

CozyFull libraryvoxelgrowingsaves

Pocket Garden

Plant six kinds of seeds, water them, and watch each grow cube by cube. Bees, rain and a day and night cycle; the garden is there when you come back.

Pocket Garden: a picture of the playable demo built from this promptPlay the demo

What the prompt builds

  • Plants that grow cube by cube
  • Watering, rain and soil that dries
  • Saved in the browser between visits
  • A photo mode

Tested with Claude Code (Claude Opus 5.5) on 17 November 2026. The demo is what it built, hosted here with Three.js served from this site.

The prompt

Full library
Build a small 3D browser toy called **Pocket Garden**: plant and tend a small voxel garden that grows while you watch.

## The game

- A 16 by 16 plot of soil floats as a little block in soft space. The player picks a seed from a tray and plants it in a cell.
- Six plants, each built from small cubes and each growing through four stages over about forty seconds: tulip, sunflower, pumpkin vine that spreads to a neighbour, berry bush, bamboo that grows tall, and an apple tree that takes four cells.
- Plants need water. A watering can wets a three by three patch; dry soil turns pale and growth stops there until it is watered. Rain comes by now and then and waters everything.
- Fully grown plants can be picked for seeds, which is how the rarer seeds are earned: the tray starts with tulips and sunflowers only.
- Bees visit flowers; plants beside a visited flower grow a little faster. Butterflies appear when ten plants are in bloom.
- The garden is saved in localStorage and is there the next time, a little further grown.

This is the first part of the prompt. The rest (controls, look, feel and the tech rules that make it run well) is in the full library.

The full library is not open yet

9 more prompts like this one, each with its demo. Leave your address and we will write once, when it opens. The 3 free prompts stay free.

How to use it

  1. Open an empty folder in Claude Code, Cursor, Codex or another coding agent that can write files.
  2. Paste the whole prompt and let the agent work until it says it is done.
  3. Open index.html through a local server (for example npx serve) and play. Ask for changes in plain words.

More prompts