# Boss Showdown: A 3D Boss Fight from a Four-Line Brief

> Write four lines (setting, hero, boss, mood) and get a playable 3D boss fight in one offline HTML file. The hero moves, punches, kicks and dodge-rolls through four announced boss moves; a rigged hero, the boss, minions, props, the painted sky, the voices, the sounds and the music are all generated through SandBase. The arena, the move rules, the lighting and the effects are a finished engine.

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

## What you get

Bring a setting, a hero, a boss and a mood; optionally the palette, landmark and music. The Skill returns a downloadable Skill (the fight engine, a budgeted 3D asset generator with rigging and compression, verification) and one playable example with its generated media and billed cost.

## Install

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

```text
/boss-showdown build a 3D boss fight in <your setting>, with <your hero> against <your boss>, in a <your mood> mood
```

## How it works

1. **Fill the slots** Describe the setting, the hero, the boss and the mood, for example a storm-washed lighthouse islet at dusk, a young apprentice in a yellow oilskin, a barnacled tide golem, in a sea-shanty mood. The agent turns the brief into a theme.
2. **Plan and generate the media** npm run assets prints every SandBase call with its worst-case estimate and refuses a plan over the budget, without spending. With --confirm-real it makes the calls through your logged-in sandbase CLI or SANDBASE_API_KEY, saves each run id at once so --recover can download finished runs without paying again, and compresses the rigged hero and each model. The example made 29 calls and billed a few US dollars.
3. **Build and verify** THEME=<id> npm run build:single inlines Three.js, the fight, both rigged and static models, the sky and every sound into one file that makes no network requests. npm run shoot runs the scene-verify checks, from the title and a punch to a seeded win, a knockout loss and retry. The example passed 34 of 34 checks.

## FAQ

### Does Boss Showdown call a model or need a key?

Not while you play — only when you build a theme. The asset step calls SandBase models for the rigged hero, the boss, props, the sky, the voices, the sounds and the music, through your own SandBase login, and the scripts never read, print or store the key. Once built, the arena page itself makes no network requests and calls no model. Nothing is billed without --confirm-real.

### How is Boss Showdown usage billed?

Boss Showdown’s asset step calls SandBase models for the models, sky, voices, sounds and music, billed to your SandBase account. The plan is printed with worst-case prices first, refused when it is over budget, and nothing is billed until you add --confirm-real. Live model prices come from sandbase inspect.

### Why does the fight run inside a frame?

The arena is served from an opaque origin with no network, so it cannot read this page or reach the internet — it plays exactly as the built file was verified.

### Can the hero be a character that carries something?

Keep the hero’s hands free: anything carried hangs from a belt, otherwise the rigging and the punches suffer. Vehicles and creatures are not the input here — the hero is a rigged humanoid.

### Can I use my own models in Boss Showdown?

Yes. Put your own GLB files in the theme’s media folder, skip generating those parts, and record their source and licence in CREDITS.json.

### Can I generate a boss fight from this page?

Not yet. Making a new theme calls SandBase models, which needs a key inside the sandbox that the backend doesn’t provide today; run the Skill locally with your own agent.

## Examples

- Boss Showdown playable fight (scene)
- Frost Pass (video)
