# Ironhold FPS: A Dusk Rail-Yard Arena Shooter

> Fight ten flanking wardens in a dusk rail yard, in one offline HTML file: four procedural weapons (carbine, shotgun, pistol and a bolt sniper with scoped glass), a squad comms feed, a minimap and a three-minute round clock. WASD and mouse on desktop, drag-and-tap on a phone; all audio is synthesised.

- 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/ironhold-fps

## What you get

Bring the setting, the weapons and the enemies, and optionally the round length, the damage numbers, the HUD layout and the UI text. The Skill returns a downloadable Skill (the arena-shooter project, a customize guide, headless verification) and one playable example run.

## Install

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

```text
/ironhold-fps make an arena shooter set in <your place>, with <your weapons> and <your enemies>
```

## How it works

1. **Fill the game slots** Ironhold FPS starts from a prompt such as 'Use ironhold-fps to make an arena shooter set in a harbour depot, with four rifles and ten patrol guards.' Optional slots cover round length, damage numbers, HUD layout and UI text. node scripts/new-project.mjs --out my-yard copies the working game, a dusk rail siding with shipping pods and a two-storey gantry.
2. **Tune map, weapons and wardens** Your coding agent edits src/config.js for tuning, src/map.js for layout and patrol loops, and src/weapons.js for weapon behaviour and viewmodels, keeping src/main.js and the runtime contract intact. Ten wardens patrol, hear gunfire by range, call contacts and flank. Carbine, scattergun, sidearm and scoped bolt rifle share one rig with their own recoil and reload.
3. **Build one HTML and play it headlessly** The project needs Node 22 and pinned npm packages; npm run build:single writes one offline HTML file under 8 MiB that runs from file: or a static host. npm run shoot drives a headless Chrome through deploy, movement, firing, aim-down-sights, weapon swaps, kills and round end, asserting state and saving a screenshot at each step. The 0.1.0 release passed all eight interactions.

## FAQ

### What kind of game does Ironhold FPS build?

Ironhold FPS builds a single-map first-person arena shooter in the browser. You clear ten patrolling wardens from a fenced rail yard at dusk before a three-minute round clock ends. A kill feed, squad comms and a minimap report the fight, and all sound is synthesised WebAudio triggered by game events.

### What are the Ironhold FPS controls?

Ironhold FPS uses pointer lock with WASD and mouse, left button to fire and right button to aim. Shift sprints or holds breath on the scope, Space jumps, double-jumps or mantles, Ctrl crouches, 1 to 4 or the wheel swap weapons, V toggles the carbine's semi mode, R reloads and Esc pauses. Touch adds a stick and buttons.

### Can I add a fifth weapon to Ironhold FPS?

Yes. Ironhold FPS lists each gun as a stats block in WEAPONS, with damage, spread, recoil, magazine and reload. Copy an entry, give it a viewmodel builder in src/weapons.js and it joins the HUD cycle. The customize guide walks through adding one.

### Does Ironhold FPS call a model or cost anything to play?

No. Ironhold FPS ships a working game, a customize guide and verification, and the finished HTML makes no network calls, stores nothing and calls no model, so playing it is never billed. Your own coding agent does the editing. A missing local Chrome only stops npm run shoot.

### Is Ironhold FPS available in Chinese?

No. Ironhold FPS has English game text only for now. The release check lists English as its only verified language. Translating the UI strings is a change your agent would make in the source.

### Does Ironhold FPS work on phones or without WebGL2?

Partly. Ironhold FPS loads and fires under touch emulation with a left stick, right-drag look and buttons, but it is tuned for mouse aim and was not tested on real devices. A browser without WebGL2 falls back to 8-bit render targets on the same frame path.

## Examples

- Ironhold FPS arena shooter (scene)
- Ember Yard (video)
