# Licenses and credits

## 3D models

All 3D models come from Kenney (https://kenney.nl). Each pack's `License.txt` was read before downloading. All three are **Creative Commons Zero (CC0 1.0)**: https://creativecommons.org/publicdomain/zero/1.0/

The models were recoloured to the game's palette and merged into five files (`models/*.glb`) by `tools/build-assets.mjs`.

| Pack | Version | URL | License | Used for |
|---|---|---|---|---|
| Castle Kit | 2.0 | https://kenney.nl/assets/castle-kit | CC0 1.0 | walls, corner towers, gates, flags, trees, rocks |
| Mini Dungeon | 2.0 | https://kenney.nl/assets/mini-dungeon | CC0 1.0 | hero (`character-human` with animations), boss (`character-orc` with animations) and its spear, sword, round shield, barrels, chests, column, potion |
| Fantasy Town Kit | 2.0 | https://kenney.nl/assets/fantasy-town-kit | CC0 1.0 | fountain, hedges, lanterns, cart, market stall, banners, trees |

Credit (not required by CC0, given gladly): **3D models by Kenney (www.kenney.nl)**.

## Made for this game

- **The boss's name** (Grumm the Many) and its attacks are made for this game; its body is Kenney's orc, recoloured.
- **Monsters** (blob, runner, spitter, brute), gems, effects and the flagstone floor are original designs built in code (`src/render/monsters.js`, `src/render/fx.js`, `src/render/world.js`).
- **Sounds** are synthesised at runtime with the Web Audio API (`src/audio.js`). No audio files are used.
- **Icons** on the upgrade cards are small renders made in the browser at start-up (`src/render/icons.js`) from the Kenney sword, shield and the game's own gems, plus shapes built in code (boot, magnet, heart, rings). The interface symbols (heart, pause, sound) are inline SVG drawn for this game.
- **Fonts**: the device's own system fonts. Nothing is downloaded.

## Code libraries

| Library | URL | License |
|---|---|---|
| three.js | https://threejs.org | MIT, Copyright © 2010-2026 three.js authors |

Build and test tools (Vite, playwright-core, glTF-Transform, pngjs) are only used during development and are not part of `dist/`.

### three.js licence text

```
The MIT License

Copyright © 2010-2026 three.js authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
```
