# Driftline Cove: A Lantern-Lit Fishing Cove

> Cast into a golden-hour cove and work the line, in one small offline HTML file: aim, charge the cast onto shallow, mid or deep water, hook on the `!` and ride telegraphed surges — twenty-one species across four unlockable spots, a tackle shop, a catch journal and a day/night plus weather cycle. A three.js scene where every fish is inline SVG and every sound is synthesized.

- 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/driftline-cove

## What you get

Bring the cove and its waters, the species and the economy, and optionally the tackle tiers, the weather, the palette and the UI text. The Skill returns a downloadable Skill (the fishing game project, a customize guide, headless verification) and one playable example day.

## Install

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

```text
/driftline-cove make a fishing game where the player casts into <your waters>, fights <your fish>, and unlocks <your spots> under <your economy>
```

## How it works

1. **Copy the fishing game** Driftline Cove starts with node scripts/new-project.mjs --out my-cove on Node 22.4 or later. Your coding agent reads references/customize.md, which maps palette and time of day, lanterns and fireflies, species and rarity tables, gear tiers and prices, locations, bite and fight tuning and UI text to files and symbols. A prompt names your waters, your fish, your spots and your economy.
2. **Edit species, gear and balance** Balance numbers live in src/data/config.js and content tables in src/data/*.js. A new species is one entry in src/data/fishData.js with name, rarity, locations, zones, times, size, weight and a look for the SVG painter. Every fish is inline SVG and every sound is WebAudio code, so no asset files are added and the build makes no network calls.
3. **Build and play the checks** npm ci fetches three.js, Vite and playwright-core, and npm run build:single writes dist-single/index.html, about 0.62 MiB. npm run shoot writes shots/report.json with screenshots for the menu, cast and retrieve, the map, the shop and a rod purchase, the journal, pause, nightfall, weather and a phone cast. A step that misses its asserted state fails the run.

## FAQ

### How do you fish in Driftline Cove?

Driftline Cove has you aim with the mouse, hold click or Space to charge the cast and release to send the bobber to a shallow, mid or deep zone. Watch for the plunge and the exclamation mark, hook in a split-second window, then manage line tension through telegraphed surges until the fish lands.

### How much is there to unlock in Driftline Cove?

Driftline Cove has twenty-one species across four unlockable spots: the cove, a river bend, a wharf and the open deep. A tackle shop sells tiered rods, reels, lines and baits, and catches go into a journal, sell for money and earn XP levels, under a day and night and weather cycle.

### Does Driftline Cove keep my progress?

Only for the session. Driftline Cove replaces localStorage with an in-memory memoryStore because the sandbox allows no storage, so refreshing or reopening starts a fresh logbook. The reset confirm is drawn in the page, since confirm() dialogs are not allowed.

### Is Driftline Cove available in Chinese?

Yes. Driftline Cove switches its UI to Simplified Chinese with ?lang=zh-CN. Species, gear and location names stay English-flavoured in both languages as proper nouns, while all UI chrome is translated.

### Does Driftline Cove need an API key?

No. Driftline Cove calls no model and makes no network calls, so playing it carries no charge. It needs WebGL, and SwiftShader can run it more slowly on a machine without a GPU.

### Why does Driftline Cove verification skip catching a fish?

Driftline Cove makes bites random between bite.waitMin and waitMax, so verify.json proves the cast, retrieve and screen flow deterministically without depending on a fish arriving in time. It is not meant as simulation-grade fishing physics.

## Examples

- Driftline Cove fishing game (scene)
- First Cast (video)
