# Synth Clash: A First-Person Grid-Sector Sweep

> Sweep a deep-cyan neon sector from a low craft, in one offline HTML file: charge every obelisk data node to grow the sector while octahedron sentinels hunt you, a wingman drone flies overhead and Shift flips the camera relay. Cells drop as pickups, hits glitch the view and every sound is synthesised. English and Chinese UI.

- 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/synth-clash

## What you get

Bring the grid look, the nodes and the hunters, and optionally the craft handling, the charge numbers, the drone behaviour and the UI text. The Skill returns a downloadable Skill (the sector-sweep project, a customize guide, headless verification) and one playable example run.

## Install

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

```text
/synth-clash make a sector-sweep shooter on <your grid>, where the player charges <your nodes> while <your hunters> close in
```

## How it works

1. **Generate the grid-sector project** Synth Clash starts with node scripts/new-project.mjs --out my-sector, then npm ci with Node 22 and the pinned dependencies. The project is a finished first-person arena sweeper titled DATASTORM // GRID SECTOR, in which you drive into a procedural grid, charge every amber data node to advance and fight cyan sentinels with a tri-prism escort drone. It needs no keys or network.
2. **Tune sectors, pickups and the rig** Your coding agent edits src/config.js, whose CFG holds hp, shield and charge caps, fire rate, spawn densities, magnet radii, drone cadence and surge frequency. Sector generation and prop meshes live in src/world/sector.js, the level loop in src/game/game.js, the player rig in src/game/hero.js and the damage pass in src/fx/glitch.js. src/main.js and the runtime contract stay intact.
3. **Shoot the full loop headlessly** npm run build:single writes one HTML file under 32 MiB that runs from file: or a static host with no network calls. npm run shoot -- --file dist-single/index.html drives deploy, driving, firing, a node charge, a sentinel kill, a cell pickup, both view flips, the drone, a level advance, a hurt, a loss and restart, asserting state and screenshotting every step.

## FAQ

### How do you play Synth Clash?

Synth Clash is driven with W and S for throttle, A and D to turn and Space to fire the forward tracer. Shift flips between cockpit and overhead views, Enter restarts after a loss and M toggles the soundtrack. Charge is finite, and magnet cells dropped by kills are the only reload. Touch shows turn and drive buttons plus FIRE and VIEW.

### Is the Synth Clash map fixed?

No. Synth Clash lays out a fresh procedural sector each level, scattering prism towers, sentinels, nodes, relays and shields over a grid that grows by 4 cells per side each level from 16. Every seventh sector is a surge: one node ringed by four towers and a dense sentinel pack.

### Does Synth Clash need a key or network access?

No. Synth Clash needs no keys, external models, network calls or storage. The pinned npm dependencies install for the build and headless check, and the finished file plays offline, so nothing here is charged to SandBase.

### How does the Synth Clash drone help?

Synth Clash's escort drone hovers a fixed lead ahead of the player and, while the sector is live, drops a spark charge on any sentinel within 9 units of you every few seconds. Its kills count toward the same tally and drop magnet cells too.

### Is music bundled with Synth Clash?

No. Synth Clash plays a small WebAudio step sequencer with arpeggio and bass and no samples, and every effect, from shots and hits to the level-up and game-over cues, is synthesised from oscillators and noise. There are no audio files to licence or replace.

### Does Synth Clash require WebGL2?

No. Synth Clash falls back to the same frame path on reduced render targets when the browser lacks WebGL2. A missing local Chrome only stops npm run shoot, not the game. Touch controls were verified under emulation, not on real devices.

## Examples

- Synth Clash grid-sector game (scene)
- Grid Sector (video)
