# Runway Routes: Coastline Dispatch

> Draw real approaches and guide four aircraft classes to color-matched runways and helicopter pads.

- 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/runway-routes

## What you get

Bring an airfield, aircraft and an optional palette. The Skill returns a downloadable Skill, interactive demos and example videos.

## Install

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

```text
/runway-routes create <your airfield> with editable fields, live drawn routes and actual landing scores
```

## How it works

1. **Describe the airfield and aircraft** Runway Routes begins with prompt slots for the airfield and its aircraft. Run node scripts/fill-prompt.mjs --slots assets/prompts/examples/coastline-dispatch.json --out prompt.md, then node scripts/new-project.mjs --out my-airfield, and give both to your coding agent. The game covers four aircraft classes across three editable airfields, with colour-matched runways and helicopter pads, in English and Simplified Chinese.
2. **Author fields in fields.json** The agent edits src/fields.json to set each field's palette, runways and pads, keeping the pointer-to-flight-to-score loop intact. Work happens locally under Node 22.4 or later after npm ci installs the npm dependencies; no keys, external assets, model calls or storage are involved. Invalid field data fails with a stable validation rule code, so a broken entry is caught before building.
3. **Build offline and check landings** npm run build:single writes one offline HTML file, and npm run shoot -- --file dist-single/index.html runs browser checks in Chrome and writes bilingual verification reports. Confirm that a route drawn from an aircraft to a terminal of its colour lands and scores, that a wrong-colour route never scores, and that a collision pauses traffic until restart.

## FAQ

### What do players do in Runway Routes?

Runway Routes has players draw or redraw a route from each aircraft to a terminal of its colour. Planes follow the smoothed route through their runway and helicopters settle onto a pad. Proximity warnings and collisions make route separation matter. Players can change field, pause, accelerate, zoom or restart.

### Is Runway Routes a video or a live game?

Runway Routes is a live game, not a video. Pointer input creates the routes, and the simulation computes each landing from distance-based flight along the smoothed path. Landing credit follows actual runway traversal, so a route that misses the runway earns nothing.

### Does Runway Routes need a model key?

No. Runway Routes runs offline with no keys, external assets, model calls or storage. Your coding agent customises the project locally, and npm ci installs its dependencies, so building and playing new airfields is not billed by SandBase.

### Can I add my own airfield to Runway Routes?

Yes. Runway Routes reads its fields from the editable catalog in src/fields.json, where you add a validated entry with its palette, runways and pads and then rebuild. An invalid entry fails with a stable validation rule code instead of producing a broken field.

### What happens after a collision in Runway Routes?

Runway Routes pauses all traffic after a collision, and play resumes only when you restart. Routes drawn to a wrong-colour terminal are rejected and never earn a score. With reduced motion turned on, the game starts paused.

### Does Runway Routes include music?

No. Runway Routes bundles only optional synthesized tones, with no recorded music, and they start only after a user gesture. Missing Chrome stops browser verification, and headless timing does not establish performance on physical devices.

## Examples

- Runway Routes interactive airfield (scene)
- Runway Routes: Coastline Dispatch (video)
