Engine
Technology
Custom engine. Original research. No shortcuts.
Powered by
THARI
Total Howling Architecture for Realtime Intelligence
THARI is a custom game engine stack written in C17, designed from the ground up for procedural Shadow worlds, deterministic simulation, real-time AI narrative, and a living constructed language that doubles as the network protocol.
20 Hz
authoritative server tick
4
protocol layers (L0–L3)
WebGPU
browser renderer, WebGL2 fallback
C17
engine and client language
Four Systems. One Stack.
Game Simulation Core
Written in C17. The engine runs the authoritative simulation at 20 Hz — ECS architecture, deterministic world generation, physics, combat and faction influence — and is developed in-house by Dwarven Stronghold Limited.
- Entity-Component System (SoA layout, O(1) lookup)
- Procedural world generation: Perlin, BSP, WFC, cellular automata
- Fixed-timestep simulation with full replay capability
- Pool allocators in the hot path
- Automated test suites (CTest) for the engine and the client core
4-Layer Binary Protocol
A custom binary network protocol that is simultaneously the game's internal bus and the in-game magic language. L0 handles framing with CRC32 and zstd compression. L1 encodes typed intents. L2 carries semantic payloads. L3 is the syllabic Thari language — 44 syllables with their own grammar, which players speak to produce real game effects.
- L0 — Transport: 20-byte frame header plus a 20-byte L1 header (40-byte minimum frame), CRC32, zstd, WebSocket/TCP
- L1 — Protocol: 159 typed intents (MOVE, ATTACK, SHADOW_WALK, THARI_SPEAK…)
- L2 — Semantic: 77 standard keys with typed values
- L3 — Language: a 44-syllable constructed language; the server checks every spoken sentence
- Magic: 0x54484152 (THAR) frame identifier
Procedural Sound Synthesis
An entirely custom audio engine that generates music and sound effects at runtime using Markov chain composition and the Thari syllable set. Each faction has distinct leitmotifs that blend based on the Order/Chaos ratio of the current Shadow. Sound effects and the in-game Thari instrument are synthesised at runtime; the zone music tracks are produced by the studio in advance.
- Markov chain music generator with faction-specific transition matrices
- Luminaris (Order) leitmotifs: structured, harmonic, modal
- Entropia (Chaos) leitmotifs: atonal, dissonant, stochastic
- Spatial 2D audio for entities and world events
- Software mixer
- Thari Music Tool: an in-game syllable sequencer
Browser Client in C
The same C17 code that powers the game logic compiles to WebAssembly and draws with WebGPU in the browser, falling back to WebGL2. The interface — the Book — is translated into English and Polish and works with keyboard, mouse or gamepad.
- C17 → WebAssembly (Emscripten), WebGPU renderer, WebGL2 fallback
- Isometric 8-direction pixel-art characters with combat animations
- Book interface: inventory, map, path, words, music — EN and PL
- Full gamepad support with remappable buttons
- A native PC client is being built from the same code
The Author-Agents Collective
Eight literary AI agents — each embodying the voice and philosophy of a distinct master writer — collaborate to generate the lore, history, and living narrative of Shadow Walkers. Lem provides the ontological framework. Tolkien the etymology and deep history. Miéville the faction politics. Pratchett the cosmic irony. Together they author a world that no single human could write alone.
Technical Pillars
Procedural Shadow Worlds
Each Shadow is a unique deterministically-generated dimension defined by seed + coordinates + Order/Chaos ratio. Worlds are reproducible, shareable, and persistently shaped by player action.
Dual Cosmic AI
Luminaris AI and Entropia AI are LLM-backed faction intelligences that generate quests, manage NPC memory, and author live narrative — two opposing forces shaping the world in real time.
Deterministic Simulation
The world evolves at 20 Hz regardless of player presence. Factions war, economies shift, Shadows destabilise — all captured in a ticked simulation with full replay capability.
Built to Last
The THARI engine is our own, written in C from the ground up. Every system is built to outlast any single game.
Full Stack
| Layer | Technology |
|---|---|
| Client | THARI client: C17 → WebAssembly, WebGPU (WebGL2 fallback) |
| Gateway | Rust + tokio + axum |
| Engine | C17 (THARI Engine) |
| API | Go |
| NPC AI | Python + FastAPI |
| Persistence | PostgreSQL + Redis |
Our Own Engine
THARI Engine is proprietary technology developed in-house by Dwarven Stronghold Limited, written in C from the ground up. Licensing enquiries: contact the studio.
Thari Language
The Thari language is free forever. CC BY 4.0 — use it in games, fiction, tabletop, mods. No permission needed.
Language Spec