How it's built
A fighting game that runs in a browser tab: a deterministic simulation, a real-time renderer on WebGPU and an asset pipeline that turns museum scans into fighters. Every number on this page comes from the build — the tests, the benchmarks and the files that ship.
Numbers generated on 2026-12-05.
The architecture
Every frame
- Inputkeyboard · gamepad · touchthe AI (same input words)
- Simulationshared/ · fixed-point · 60 Hzframe data · collisions · finishers
- Snapshotread-only, every steppositions · clips · events
- View · Sound · HUDthree.js WebGPU + TSL postWeb Audio · React
Every asset
- ScansSketchfab · Poly Haven · Mixamolicences checked per file
- Blenderretopology · autorig · bakeslight maps in Cycles
- gltfpackmeshopt geometryKTX2 textures · Low + High
- CDNCloudflare R2budgets enforced in CI
Determinism
500 seeded fights, 750,000 frames: the state hash of every frame folded into one digest. The same digest everywhere means the same fight everywhere — the ground for replays and rollback.
| Where | Digest |
|---|---|
| Node (run twice) | 4fd524fa |
| Chrome | 4fd524fa |
| Firefox | 4fd524fa |
| WebKit | 4fd524fa |
Tests
Unit (simulation, data, server rules)
647
647 of 647 pass
API integration (Express + PostgreSQL)
60
60 of 60 pass
Browser (the real game in Chrome; OBJ-8 also in Firefox and WebKit)
40
40 of 40 pass
Speed
Simulation step
0.36 µs
average over 108 full matches, 1,269,711 frames (target ≤ 300 µs)
Desktop, High
60 fps
undercroft 60 · hintze-hall 60 · cloister 60
Phone layout, Low
59 fps
undercroft 59 · hintze-hall 60 · cloister 60
Input → first frame of the move
1 f
16.1 ms
Marrow Strike, worst frame
16.9 ms
Rites at every gore level, worst frame
16.9 ms
Landing → a fighter that moves (production build)
4.7 s
A phone on Fast 4G: landing → a fighter that moves
7.5 s
Lighthouse on a phone, lowest score
99
/, /about and /credits — performance, accessibility, best practices, SEO
The AI against itself
Every level plays every fighter on each of his Paths against every other: all matches end, nobody stands still for 5 s, and at the Fighter level every pairing of two fighters lands between 35 % and 65 %.
| Level | Matches | Longest stand-still | Pairings outside 35–65 % |
|---|---|---|---|
| novice | 9,936 | 2.8 s | 1 / 28 |
| fighter | 9,936 | 1.8 s | 0 / 28 |
| nightmare | 9,936 | 1.8 s | 13 / 28 |
From scan to fighter
Downloaded scans are retopologised, rigged and relit in Blender, then packed with gltfpack (meshopt geometry, KTX2 textures). The first fight loads the Low files (5.5 MB of models, maps and props); the full ones stream in during the intro.
Thorne
- Downloaded
- 88.4 MB · 223,711 tris · 22 × ≤ 2048x2048
- Shipped
- 15.4 MB · 53,620 tris · 22 × ≤ 2048x2048
- Shipped Low
- 5.2 MB · 53,620 tris · 22 × ≤ 1024x1024
Karnax
- Downloaded
- 53.7 MB · 310,231 tris · 3 × ≤ 4096x4096
- Shipped
- 3.1 MB · 49,985 tris · 3 × ≤ 2048x2048
- Shipped Low
- 2.2 MB · 49,985 tris · 3 × ≤ 1024x1024
The Undercroft
- Downloaded
- 125.2 MB · 1,904,889 tris · 2 × ≤ 8192x8192
- Shipped
- 13.2 MB · 323,849 tris · 6 × ≤ 4096x4096
- Shipped Low
- 2.1 MB · 161,918 tris · 6 × ≤ 1024x1024
Hintze Hall
- Downloaded
- 156.3 MB · 1,982,017 tris · 2 × ≤ 8192x8192
- Shipped
- 13.6 MB · 379,373 tris · 6 × ≤ 4096x4096
- Shipped Low
- 2.4 MB · 189,681 tris · 6 × ≤ 1024x1024
46 built files, 125.7 MB of models and maps, 28 MB of sound.
Frame data, Thorne
Read from the same data files the simulation runs. Open Training to see the hitboxes live.
| Move | Start | Hit | Block | Dmg |
|---|---|---|---|---|
| Pommel JabLH · high | 8 | +6 | 0 | 3% |
| Crossguard CutHH · mid | 12 | +6 | -5 | 5% |
| Shin KickLL · low | 9 | +4 | -2 | 4% |
| Hilt KickHL · mid | 14 | +8 | -6 | 6% |
| Low Pommel↓ LH · mid | 7 | +6 | 0 | 3% |
| Rising Edge↓ HH · mid | 13 | Launch | -8 | 5% |
| Ankle Cut↓ LL · low | 8 | +5 | -2 | 4% |
| Reaping Sweep↓ HL · low | 15 | KD | -7 | 6% |
| Vaulting Hilt→ HL · overhead | 20 | KD | -4 | 6% |
| Falling Pommelin the air LH · overhead | 7 | +7 | +1 | 3% |
| Plunging Cutin the air HH · overhead | 10 | +10 | +2 | 5% |
| Knee Dropin the air LL · overhead | 8 | KD | +1 | 4% |
| Heel Dropin the air HL · overhead | 11 | KD | +2 | 6% |
| Vigil IILH · mid | 9 | +5 | -1 | 3% |
| Vigil IIIHH · mid | 12 | KD | -10 | 5% |
| Penance IIHH · mid | 11 | +4 | -6 | 5% |
| Penance IIIHL · overhead | 16 | KD | -10 | 6% |
| Low Rite IILH · mid | 9 | +5 | -1 | 3% |
| Low Rite IIIHL · low | 15 | KD | -6 | 6% |
| Marrow Strike: Oath of BoneBLOCK HH HL · mid | 12 | -20 | -30 | 33% |
| Oath Opener→ LH · mid | 9 | +6 | 0 | 3% |
| Oath SecondHH · mid | 11 | +4 | -6 | 5% |
| Oath SealedHH · mid | 13 | +6 | -8 | 5% |
| Vigil Stance↓ ← HH · mid | 10 | -33 | -33 | 0% |
| Lunging Thrust← → HH · mid | 16 | +6 | -10 | 10% |
| Thornwheel↓ → HL · mid | 18 | KD | -17 | 12% |
| Oath Cleave→ ↓ → HH · overhead | 22 | KD | -4 | 11% |
Gore is never on the landing. A production build starts on Cinematic; Full asks for an 18+ confirmation first.