diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md index a22d036..ac281fa 100644 --- a/ARCHITECTURE.md +++ b/ARCHITECTURE.md @@ -1,8 +1,8 @@ -# viberogue — Architecture & Design Notes +# Kiln — Architecture & Design Notes ## What this is -viberogue is a **game-making system**, not just a game. The model is ZZT (1991, Epic MegaGames) — a DOS game that shipped with a built-in editor and a simple scripting language (ZZT-OOP), which let players create and share their own worlds. The goal here is something similar: a runtime + authoring environment where game worlds are defined in plain text files with embedded scripts, and the engine interprets them. +Kiln is a **game-making system**, not just a game. The model is ZZT (1991, Epic MegaGames) — a DOS game that shipped with a built-in editor and a simple scripting language (ZZT-OOP), which let players create and share their own worlds. The goal here is something similar: a runtime + authoring environment where game worlds are defined in plain text files with embedded scripts, and the engine interprets them. This document records the architectural decisions made so far and the reasoning behind them, so future development sessions don't have to rediscover the "why." @@ -249,4 +249,4 @@ None of these are blockers for current work, but avoid making `Board.player` mor ZZT (1991) was a text-mode game for DOS. Its playfield was 60×25 characters (the right 20 columns were the stats panel). Each board was a self-contained screen with objects (tiles with embedded ZZT-OOP scripts), passageways to adjacent boards, and a fixed element type system (about 50 built-in element types). Players could create worlds with the built-in editor and share `.ZZT` files. -viberogue takes the core ideas — tile-based boards, embedded scripts per object, named portals between boards — and rebuilds them in a modern, WASM-capable stack with a more flexible scripting language and a human-readable file format. \ No newline at end of file +Kiln takes the core ideas — tile-based boards, embedded scripts per object, named portals between boards — and rebuilds them in a modern, WASM-capable stack with a more flexible scripting language and a human-readable file format. \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index 07ab6af..89dcaf4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Project -`viberogue` is a ZZT-inspired game-making system written in Rust (edition 2024). The goal is a system where players can create games using a scripting language, similar to the classic DOS game ZZT. It uses **Rhai** for scripting (WASM-compatible, sandboxed, pure Rust). +`kiln` is a ZZT-inspired game-making system written in Rust (edition 2024). The goal is a system where players can create games using a scripting language, similar to the classic DOS game ZZT. It uses **Rhai** for scripting (WASM-compatible, sandboxed, pure Rust). ## Code style diff --git a/Cargo.lock b/Cargo.lock index 94a4a70..40bcf6f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1638,6 +1638,16 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e2db585e1d738fc771bf08a151420d3ed193d9d895a36df7f6f8a9456b911ddc" +[[package]] +name = "kiln" +version = "0.1.0" +dependencies = [ + "eframe", + "rhai", + "serde", + "toml", +] + [[package]] name = "leb128fmt" version = "0.1.0" @@ -3164,16 +3174,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" -[[package]] -name = "viberogue" -version = "0.1.0" -dependencies = [ - "eframe", - "rhai", - "serde", - "toml", -] - [[package]] name = "walkdir" version = "2.5.0" diff --git a/Cargo.toml b/Cargo.toml index 4c855ae..448ac1a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "viberogue" +name = "kiln" version = "0.1.0" edition = "2024" diff --git a/src/main.rs b/src/main.rs index 182bb9d..a2a35ce 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,7 +37,7 @@ fn main() -> eframe::Result<()> { ..Default::default() }; eframe::run_native( - "Viberogue", + "Kiln", options, Box::new(move |_cc| Ok(Box::new(App::new(board)))), )