Skip to content

Releases

BeSpoke Engine 0.4.0

Choose a tag to compare

@aedmark aedmark released this 21 Nov 21:25
  • Valerius and the Bread is a new proof with its own page (site/valerius.html, --valerius): in a hard winter at the hill-fort of Greyhold, Hesper learns what Captain Valerius values and appeals to it to save her brother Tam, who stole a loaf. His red lines refuse a hanging and a bribe, Mercy and Loyalty end the winter differently, and the outcome drifts his Mercy into the spring scene (P45-06).

  • An appeal can name any declared value and the weighed axis it moves, as in appeals 8 to Loyalty toward Mercy (D-150).

  • The player can appeal to a character's values: appeal to mercy moves that character's next weighing of a dilemma toward mercy by the amount its appeals line gives, once the player has learned that the character holds that value, by watching a weighing or by asking. An appeal to a value the player has not learned is refused. Learned values make goal hints speak from the player character's knowledge. Package format 23 carries appeal lines, and versions 1 through 22 still load (P45-05, D-149).

  • A dilemma's drifts lines change a character's values over a long game: when an outcome such as Repaid(Thief) becomes true after the dilemma has been weighed, its points add up, and every 5 move the value one step, at most 2 steps per dilemma and never past -10 or +10. Drift is saved, rewound, and replayed exactly. Package format 22 carries drift lines, and versions 1 through 21 still load (P45-04, D-148).

  • The showcase pages load faster: the browser proof module is 668,536 bytes, down from 836,726, because a deck that plays script source no longer carries the package loader (D-147).

  • A dilemma weighs a character's value on one axis against another, plus leans lines read from world facts, and answers with one of five tiers: strong or moderate toward either axis, or neutral. The character speaks the tier's line and the dilemma fires its cue with the tier's action; a neutral character asks to be shown evidence and weighs again when something is presented. A dilemma that misses a tier is a compile error. Package format 21 carries dilemmas, and versions 1 through 20 still load (P45-03, D-146).

  • A character's red lines, such as red lines Valerius: Execute, are options it never takes: a decision skips them before scoring, so a vetoed option is never chosen even when it would score highest, and a decision with nothing left chooses nothing. A red line that names no option offered to that character is a compile error. Package format 20 carries red lines, and versions 1 through 19 still load (P45-02, D-145).

  • Scripts declare their own value axes, such as axis Mercy between Vengeance and "Condoning Harm", and give a character a value from -10 to +10 with remember Mercy(Valerius, -3). A value outside the range is a compile error, a run-time write past it stores the limit, and the state inspector lists the value on its character. Package format 19 carries axes, and versions 1 through 18 still load (P45-01, D-144).

BeSpoke Engine 0.3.1

Choose a tag to compare

@aedmark aedmark released this 21 Nov 15:23
  • A project made by bespoke init installs Zig in CI from ziglang.org against its published SHA-256, as the engine's own CI does; the community setup action it used found no copy of Zig 0.17.1, so every generated project's CI failed before building (P42-06).

  • A project made by bespoke init builds and tests in CI on Linux and macOS and builds its browser version; the Windows job is gone, because Windows is not a release target until a Windows contributor maintains it (D-143).

  • A number key answers a dialogue straight after a typed command such as talk to pilot, on desktop and in the browser; before, the key typed into the still-focused command bar until Esc (D-142).

  • The proof pages' controls and their "Show the solution" summaries, the showcase homepage's nav links and Play buttons, and the Harbour page's controls are 44 px tall, so a phone's thumb meets them as easily as a mouse does (P42-06).

  • The proof pages' [N], [Space], and [R] keys step one tick, pause and resume, and rewind to tick 0, as the desktop window's keys do, so the canvas hint line is true (P42-06).

  • The Bell Tower's distaff names its target (DISTAFF target: Brazier) and wraps the message log before the staff, so the two no longer overlap (P42-06).

BeSpoke Engine 0.3.0

Choose a tag to compare

@aedmark aedmark released this 20 Nov 14:18
  • A routine header takes names with spaces for the routine and its actor (routine Judge Marrow(Judge Marrow):), and the compiler owns the routine names and entities it registers, so a during name with spaces survives compilation (P44-07). A routine name repeated across top-level, path, or during declarations is a compile error at the second declaration instead of silently replacing the first.

  • A scene transition changes the room and fires its cue without pausing or waking any fiber; a routine's owner names an actor or the stage, not a room (D-139). No shipped script declares a scene-owned routine, so the proofs are unchanged.

  • A host can show a room the player is not in: DisplayBridge.capture_scene fills a frame from a named room without moving the VM, and the room keeps simulating on the tick clock (P44-06, D-138). The Long Gallery watches an agenda play out in a locked studio.

  • A script declares a decision with an actor, a cue, trigger lines, and options whose scored lines sum to a total; the engine offers only the options the actor knows, picks the highest total with ties going to the first declared, and fires the cue with the winner (P44-05, D-137). The Cinder Table shows it: three seats play four rounds from private hands, and a public discard raises the lead one seat already held.

  • A script declares a spellbook of power, element, and form words and the combinations that spell something; a cast resolves by name or by triple and fires the cue named after the spell, and each word is gated by what the caster has discovered (P44-04, D-136). The Word Foundry shows it: three clues teach six words, two combinations resolve, and a third refuses without changing the room.

  • A player can present evidence to a character (present the slip to Pell), and the engine records each distinct thing shown so reactions and readouts follow what the character has seen; the character reveals only what they know (P44-03).

  • A condition counts matching facts (2 of Clue(_)) or sums their third slot toward a threshold (6 points of Clue(_)), so an investigation can move on with enough evidence instead of all of it (P44-02).

  • A script declares a goal as needs with the fact each one requires, prerequisites, a room, and optional per-tier text; the engine reports the nearest unmet need as a hint, in the story's voice while the character could reason about it and as the author's direction otherwise (P44-01, D-126, D-134).

  • The Larkspur Observatory's three props sit one world unit higher and the Wreckers Cellar's SEA CHEST label sits higher on the chest lid, so both keep clear of the log and leave room for a name or prompt above them (Q-017, D-133).

  • The Pip-Spitting Green's breeze comes every 15 seconds and blows for 15, and the conch holds Judge Marrow for 15, so lining up a watched throw takes about a third of the wait it did (D-130).

  • A spit in The Pip-Spitting Green counts only while Judge Marrow is watching, so first place needs him back at the chalk line as well as thick spit, moved pegs, and the breeze; a throw he does not see is unmarked (D-129).

  • A hover prompt on a person near the message band reads above them, so the log no longer covers it (D-127).

  • The desktop window can be resized. It shows the whole 1280x720 frame at its own shape, with bars beside it in a window of another shape, so a short window keeps the message band and the stage and a click lands on what it points at (Q-014, D-125).

  • The Larkspur Observatory's working-floor marks and The Living Village's cottages mark sit one world unit higher, so their discs and the people on them clear the message band (Q-013).

  • The Living Village's cottages prop sits on its mark's row instead of below it, where its marker reached into the message band (D-124).

  • A mark's name or prompt that would fall under the message band is drawn above its mark, and stays above when another label takes that place (D-124).

  • The Drowned Lantern's bar counter and its signs sit above the message band, the Larkspur Observatory's props sit inside the working floor rather than in the band's top, and the Wreckers Cellar's STEPS UP sign stands under its lowest step (D-124).

  • Standalone proof pages scale the stage to the window, so the whole frame, status area included, is visible without scrolling (D-123).

  • The Larkspur Observatory's two floors sit higher and its floor names stand beside the plan, so the message log no longer covers the working floor's room names (D-123).

  • The showcase gives every proof its own standalone page, including The Tavern Heist, The Living Village, Caustic Grog, The Bell Tower, The Castle Fire Escape, and The Larkspur Observatory. The Proof Lab and its script viewer are gone; the proof scripts stay in the repository (D-122).

BeSpoke Engine 0.2.0

Choose a tag to compare

@aedmark aedmark released this 18 Nov 15:43
  • The showcase features Lantern Watch: The Harbour as its only live homepage game. Seven proofs link straight to their standalone pages; the Proof Lab keeps all thirteen decks, the timeline, and the script viewer.

  • The showcase comparison table wraps inside the page at phone widths, so it no longer creates sideways scrolling (P42-03).

  • bespoke init includes the BeSpoke MIT notice as LICENSE-BeSpoke and leaves the game's own license to its author (P42-02).

  • Ship three downloads: a static Linux x86_64 CLI, an SDL2 desktop build, and the stock browser runtime. The Linux archives include Night Watch. Both binaries can scaffold without Zig when given the matching engine source directory (P42-01).

  • Lantern Watch: The Harbour is a ten-scene reference game with a working society, typed commands, a native save/restore golden, and a browser build (P41-02).

  • zig build bench reports simulation throughput on Linux and in Chrome. CI checks raw size budgets for the browser modules, showcase, standalone proofs, and Lantern Watch (P41-01).

  • Lantern Watch adds a text-first storm watch with opening prose in the gameplay transcript and an optional interactive map. Explore the tower, free the stuck bell yourself or enlist the Keeper, or open the shutter and see what the beacon calls in. Both go to watch room and go watch room work, with narration on arrival. The first-game tutorial stays unchanged.

  • The BeSpoke Language extension highlights .bespoke files in VS Code. Its TextMate grammar is generated from the lexer, and CI checks every keyword spelling, including aliases (P40-03).

  • The first-game tutorial takes Lantern Watch from bespoke init to a single HTML file ready for manual static hosting. Linux CI runs the tutorial and checks the upload file in Chrome (P40-02).

  • bespoke check shows the first compiler error with its file, source line, and caret, plus a spelling suggestion when there is one clear match. Source compilation and execution use the same diagnostic format (P40-01).

  • Generated projects pin their CI engine checkout to the published v0.1.0 release. Report suspected vulnerabilities privately through the GitHub Security Advisories page (P39-03).

  • Resource exhaustion now gives explicit errors at the compiler and fiber spawn boundaries (P39-02, D-109). At the spawn cap, the VM can reclaim halted fibers. Older saves still restore under the existing file limits.

  • Incomplete quoted strings at end of source now produce a validation error. Bounded input fuzz tests cover this and other input boundaries (P39-01).

  • Documented how supported script syntax and Zig API names retire across releases (P38-04, D-108). Each removal follows a shipped warning release with migration guidance. Existing package and save compatibility guarantees still apply.

  • The supported Zig host API is now explicit (P38-03, D-107) in docs/API.md. host.Session is the preferred host boundary; host.init_vm, host.start_routine, and method-only browser-runtime access keep custom hosts off internal storage. Generated projects use this surface. Deprecated tangent, vortex, artifact, and singularity aliases from D-044 are removed before the 1.x API freeze.

  • Released .bspk packages and .sav saves now have an explicit compatibility policy (P38-02, D-106). The 1.x reader retains package formats 1 through 14 and save formats 1 through 2; checked-in 0.1.0 fixtures exercise both current formats. An unsupported package reports its version and the full supported range, and hosts can produce the same diagnostic for saves.

  • The script reference now documents the complete accepted language and maps each section to parser and codegen tests (P38-01). The compiler reports unknown top-level text, unknown body statements, malformed wait, and unsupported else blocks instead of silently skipping them. Cue parameters still bind in where guards but not handler bodies, and remain listed under Known Limitations (D-072).

BeSpoke Engine 0.1.0

Choose a tag to compare

@aedmark aedmark released this 17 Nov 12:10

Changelog

User-visible changes to the BeSpoke Engine, newest first.

Unreleased

0.1.0 - 2026-11-16

  • Published the first versioned BeSpoke Engine release (P37-03). bespoke --version, bespoke-proofs --version, and build.zig.zon report 0.1.0; zig build version-check runs both CLIs and rejects a mismatch before a release is tagged.

  • The engine builds with Zig 0.17.1 (P37-01), and a game made by bespoke init asks for it too. Functions that read files or the clock take an io: std.Io argument as they take an allocator, and main receives both from std.process.Init (D-104); docs/AUTHORING.md shows the new signatures. The SDL2 headers come through the build's translate-C step instead of @cImport. Every transcript, render, browser, and audio golden is unchanged.

  • Typed commands work in the browser (P34-04): The Larkspur Observatory plays on the showcase, where Enter opens the command bar and a line such as "go to the archive" walks Ines there, and the page made by bespoke init has the bar too. No proof is desktop-only any more.

  • The Castle Fire Escape plays in the browser (P34-03): the showcase has a Fire Escape tab, where USE on the trough fills the bucket, USE on the torch lights the tapestry, and [S] plays the next step.

  • Sound on the showcase, the proof pages, and the page bespoke init makes now plays through an AudioWorklet instead of the deprecated ScriptProcessorNode (P34-05), opened from a file or a server alike.

  • site/saltmarket.html plays The Saltmarket on its own page. In the browser the three ways in now work as on desktop: no gate is locked until you choose, Tamsin walks only through the open gate, a click on a locked one says "That way is blocked.", and taking the logbook runs the way you chose (D-052, D-053).

  • The old flags --gk3, --dott, --darko, --loom, and --atlantis are gone (P35-10); use --borrowed-beard, --three-tides, --weathercock, --bell-tower, and --saltmarket. No third-party name is left in the code, site, or manual, and the docs check fails if one returns.

  • Algiers: Three Paths is now The Saltmarket (--saltmarket, P35-09): Tamsin gets Pilot Ashe's lost logbook out of Broker Quince's stall by Cunning, Muscle, or Crew, and the way she chooses locks the other two. --atlantis still works.

  • The Bell Tower runs with --bell-tower (P35-08), and its bell-keeper is now Maren. --loom still works. The draft, weave, and distaff keywords stay as they are (D-102).

  • site/weathercock.html plays The Copper Weathercock on its own page, with how to play and a hidden walkthrough. The browser deck can now be played by hand: Take and Use work on the crank, the note, and the weathercock; the attic stairs and the Customs House's street door and hill road lead between the scenes, in the window too, where they replace the 1, 2, 3 scene keys; Hester Quill takes the note only once Wren has it from the post box; and the borrowed month's countdown shows at the top of the stage, in the window too.

  • The Middlesex Anomaly is now The Copper Weathercock (--weathercock, P35-07): the Customs House weathercock falls through Wren's attic 28 days early and the world splits into a borrowed month. Wren opens the Customs House sluice, gets a note to Hester Quill on Beacon Hill, and carries the weathercock into the fog whirl before the countdown runs out; if it runs out, the month tears away and she rewinds. --darko still works.

  • The Well of Three Tides plays the same in the desktop window as in the browser: the window sends every verb, item, and dialogue choice to the script, its props sit on the stage where they can be clicked, and dropping something down a Tide Well says it comes up in Ossie's bucket in 1712.

  • site/tides.html plays The Well of Three Tides on its own page: buttons under the stage switch between Ossie, Nell, and Juno, and items dropped down a Tide Well come up in another century. The whole puzzle can now be played by hand in the browser.

  • Scripts may quote a name to use characters a word cannot hold, such as scene: "Brine's Boarding House" (D-101).

  • The Tentacle Trio is now The Well of Three Tides (--three-tides, P35-06): Ossie in 1712, Nell in 1912, and Juno in 2112 pass things through Doctor Brine's Tide Wells, age port into vinegar in a cornerstone box, and free Juno from a tree that Founder Gale fells two centuries earlier. --dott still works.

  • A long line in the message log wraps onto the next row instead of shrinking to tiny text and being cut off (D-099), on desktop and in the browser. In The Donkey of Lamp Point, catching Cudgel's rope no longer also says the "too early" line.

  • site/donkey.html plays The Donkey of Lamp Point on its own page, with how to play and a hidden walkthrough. In the browser, the room change now moves Tamsin into the cellar and back, and one click on the hatch gets her shoved once, not twice.

  • The Lochmarne Goat is now The Donkey of Lamp Point (--lamp-point, P35-05): Tamsin gets past Cudgel, the lighthouse keeper's donkey, to the wreckers' cellar by hauling an old anchor into his rope line while he ambles back to his post. Keys L and W change scenes. --goat still works.

  • Story lines and hints show in a three-line log under the playfield, newest brightest, on desktop and in the browser; lines no longer hang forever or vanish before they are read (D-099). Speakers read as words ("Judge Marrow:").

  • Walking onto a doorway changes rooms on desktop and in the browser alike (D-100): Brackwater Barbs gains doorways from the Tidewalk to Vell's Fencing Yard and the Drowned Lantern, and the Borrowed Beard's office lane is on screen. The Barbs fencers start spread along the Tidewalk, names no longer print over each other, and scenes with more than three marks or props keep them all on the stage.

  • The browser's state inspector (I) is now the desktop State tab, drawn in the drawer's place, and the standalone pages forward its keys (D-098).

  • The browser and the desktop window now draw the same frame (D-097): the standalone pages and the showcase show each proof's desktop scenery, verb bar, item tray, dialogue panel, and banners at 1280x720, and the desktop draws through the same canvas. The browser keeps its own keys, item rules, exits, page buttons, and state inspector.

  • The Pip-Spitting Green in the browser shows the wind: "WIND: CALM" under the title, and a tailwind line with arrows across the field while the breeze blows (D-096).

  • site/pips.html has a Spit button (P) that spits from where Tamsin stands (D-095), so a breeze is not lost to the walk over to the judge.

  • Two more standalone pages to share (D-094): site/pips.html plays The Pip-Spitting Green and site/beard.html plays The Borrowed Beard, each with how to play and a hidden walkthrough. The browser now has an item tray: click an item to use it, or to take it in hand and use it on a person, a prop, another item, or yourself. Walking onto the Beard's stairs, yard path, or doors changes rooms; talking to Judge Marrow offers the spit. A silent action now says what happened, and the Green's weather no longer stands on the chalk line as a person.

  • The item tray fits the window: when carried items would run off the right edge, their labels shrink, then are cut short, and every item stays clickable where it is drawn. In The Borrowed Beard, making the grey beard uses up the dog fur and the honey, so they leave the tray.

  • Names on screen read as words (D-093): marks, props, items, and action sentences show "Dog Bed", "Watering Can", "Room 7" instead of "DogBed", "WateringCan", "Room7", in the window and the browser. A mark shows "[Walk to ...]" only when a click would walk there, and the label goes away once you arrive; before, it stayed after every walk and showed over people whatever verb was selected. In the window, the person under the mouse now gets a ring and the action a click would take, such as "[Take Bramble]", and only the thing a click would act on lights up; before, people never lit up. Bramble is drawn so he no longer looks like a mark.

  • The player now walks to whoever or whatever it acts on before acting (D-092), in every proof's window and in the browser: TALK, TAKE, USE, and an item used on a person or prop walk the player to the mark beside the target, then act. LOOK still works from where the player stands. A walk that cannot reach the target says so instead of acting.

  • In The Borrowed Beard, Captain Rook now guards his coat while he stands at his door: Tamsin can borrow his papers only while he paces at the stairs, and says "Not with Rook standing right there. I'll wait till he's off down the landing." otherwise. The step keys and the browser's [S] wait for him to leave.

  • Using an item on Rook's Door in The Borrowed Beard, or on the Pegs in The Pip-Spitting Green, now has no effect instead of acting like TAKE or USE on them; only the verb or the step key does that.

  • The Cat Moustache proof is now The Borrowed Beard, an original (P35-04). Tamsin needs the last berth on the packet boat, held for the grey-bearded Captain Ansel Rook. She takes charcoal, sail tape, and honey from her washstand, borrows Rook's sailing papers and draws a beard on his portrait, tapes the gap under the net-loft gate and soaks Bramble the dog through it for a tuft of grey fur, and wears the beard to Purser Wick. Run it with --borrowed-beard; --gk3 and --cat-moustache still work. I, Y, and O change scenes. The combining chain, scenes, dialogue pruning, and rewind are unchanged; the browser deck, gallery, and manual follow.

  • Footer hints in the window wrap onto two lines instead of running off the edge, the timeline label is larger and centred in its bar and never shows a last tick below the current one, and banners no longer cover the timeline (D-091). The third-party lint now also counts names written in capitals; its baseline rose from 2,444 to 2,517 terms, all real...

Read more