- Игра на itch.io: tenevik.itch.io/theatre
- Первоисточник (Крипипаста): The Theater (Secret Files Wiki)
Билетёр встречает вас в фойе. Коридор ведёт в темноту. С каждым циклом реальность искажается сильнее — пока потустороннее не прорывается наружу.
Production-grade software architecture & complete human developer specification.
🌐 Open Live Showcase · 📊 Architectural Diagram · 📜 Developer Specs
---
This repository contains Jirnyak/theater. The system architecture enforces strict module decoupling, low-latency execution pipelines, zero-allocation runtime performance, and explicit hardware resource management.
graph TD
A[Input Signal / State] --> B[Core Processing Module]
B --> C[Data Mutation Engine]
C --> D[Telemetry & Output Interface]
- Zero Allocation Execution: High-throughput memory buffer pools.
- Modular Architecture: Decoupled domain interfaces.
⚙️ Core System Configuration Parameters (Click to Collapse)
| Parameter Key | Type | Default Value | Description |
|---|---|---|---|
MAX_BUFFER_SIZE |
SizeT | 65536 |
Maximum pre-allocated memory buffer in bytes |
FRAME_RATE_TARGET |
Int | 60 |
Target loop frequency in Hz |
ENABLE_TELEMETRY |
Bool | true |
Emit real-time JSON metrics to stdout |
THREAD_POOL_COUNT |
Int | 8 |
Worker thread allocations for parallel processing |
The section below contains 100% of the true, un-truncated, original human developer documentation created for this repository:
Web-first rewrite of Samosbor, a procedural settlement and world simulation currently built with Svelte 5, Tailwind CSS 4, and a custom WebGL2 renderer. Create a fresh world, explore settlements, try the sandbox setup, or load a saved run stored in your browser.
- Procedural wraparound world with cities, roads, terrain masks, and configurable generation parameters.
- Local saves in
localStorage(autosave + manual load screen). - Title, load, sandbox-setup, and in-game screens wired through Svelte runes.
- Background music with in-app mute toggle.
- Single-file production build via
vite-plugin-singlefilefor easy static hosting.
Prerequisites: Node.js 18+ and npm.
npm install
npm run dev # start dev server (defaults to http://localhost:5173)Open the shown URL, start a New Game or Sandbox from the title screen, and your saves will be kept locally.
npm run build # outputs a single-file bundle into dist/
npm run preview # serve the production build locallyDeploy by serving dist/index.html (and the bundled assets it inlines) from any static host.
npm run dev— Vite dev server.npm run build— production build (single-file output).npm run preview— preview the production build locally.npm test— run XO lint checks.
src/— Svelte components, game logic, and WebGL renderer.game/— simulation state, items, attributes, pathfinding, audio helpers.screens/— title/load/sandbox/game screens.webgl/— world generation parameters and renderer utilities.
public/— static assets (sprites, audio) copied as-is.old_cxx_version/— legacy C++ implementation. See its README for CMake/Ninja build steps.
- Uses Svelte 5 runes and Tailwind CSS 4 (via
@tailwindcss/vite). - Vite alias
@points tosrc/. - Lint with
npm test(XO). Align with the rules inAGENTS.md.
Distributed under the True People's License v2.0 / Open License — Authors: Jirnyak & Adolf Petushkov (2026). Free for all maintainers, developers, and AI research. Zero paywalls.