# Wheat Harvest: A Harvest-Toy Farm Run

> Tic a wheat field into the silo, in one small offline HTML file: every cell ripens on its own staggered clock, the eleventh tic pops a flour bag that arcs to the silo, and a three-day quota turns the toy into a run. Sky, soil, tufts, silo and flying bags are all procedural Canvas 2D — a spring accumulator gives each tic its kick.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Game creation](https://www.sandbase.ai/skills/games)
- Version: 0.1.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/games/wheat-harvest

## What you get

Bring the field and its clocks, the tics and the quota, and optionally the day structure, the bag arc, the palette and the UI text. The Skill returns a downloadable Skill (the harvest-toy project, a customize guide, headless verification) and one playable example harvest.

## Install

Download the Skill package from https://www.sandbase.ai/skills/games/wheat-harvest (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/wheat-harvest make a harvest-toy farm where the player tics <your crops>, pops <your bags>, under <your day and quota>
```

## How it works

1. **Open the harvest toy project** Wheat Harvest lives in assets/wheat-harvest: run npm install, then npm run dev and play at the printed URL. It is pure Canvas 2D with zero runtime dependencies and no textures, so sky, soil, wheat tufts, silo and flying flour bags are all drawn in code. src/config.js holds field geometry, palette, economy and both locales, with state, renderer and audio in src/core.
2. **Tic ripe cells toward quota** Each cell ripens over about 6.5 seconds on its own staggered clock. Tapping a golden cell kicks a spring accumulator, and the eleventh tic pops a flour bag that arcs to the silo while the cell resets and regrows. Fill dayQuota bags before the 60 second sun crosses; the third day's quota wins. Enter tics, H hints, U undoes.
3. **Build single file and shoot** npm run build:single writes dist-single/index.html, the hosted bundle, and npm run shoot runs scripted verification in Chromium. It plays the menu, a planted field, ripe tics, a popped bag and its landing, undo, pause and mute, the Chinese UI and a phone tic. The published example and its verification shots are in results/first-harvest/.

## FAQ

### What is Wheat Harvest?

Wheat Harvest is a single-page harvest toy where wheat cells ripen on their own clocks and you tic golden cells until they pop flour bags into a silo. Each day you must meet a bag quota before sundown; meeting it brings a fresh field, missing it ends the run, and the third day's quota wins the harvest.

### Does Wheat Harvest call a model or need a key?

No. Wheat Harvest has zero runtime dependencies and makes no network calls or model calls. Its visuals are Canvas 2D code and its sound is a handful of synthesised ticks and pops, so playing or customising it is never billed.

### Can I undo a tic in Wheat Harvest?

Yes. Wheat Harvest's Undo, also on the U key, rewinds the last tic, and if that tic popped a bag, the bag still in flight is recalled. Hint, or H, glows the first ripe cell, Enter tics it and Escape clears the glow.

### Why did my tap miss in Wheat Harvest?

Wheat Harvest picks the tuft under your tap with cellAtPoint and, if you miss, nearestCell forgives it within about 60 map pixels.

### What are the limits of Wheat Harvest?

Wheat Harvest has one field, one quota and three days, with no difficulty tiers, upgrades or endless mode. Each load is a single session, the day clock is fixed at 60 seconds, and there is no music.

### Does Wheat Harvest work on mobile?

Yes. Wheat Harvest tics a golden cell on a tap, and a phone tic is part of the scripted checks. It was verified under touch emulation, not on real devices.

## Examples

- Wheat Harvest farm game (scene)
- First Harvest (video)
