Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

5.6 KB
Raw Blame
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Relay — Game Master</title><!-- FAVICON --><style>/* STUDIO_CSS */</style></head><body>
<header class="top"><div class="brand"><span class="logo"><!-- RELAY_ICON --></span><span>RELAY<small>GAME WORKSHOP</small></span></div><nav aria-label="Workspace"><button data-tab="workbench" class="active">Workbench</button><button data-tab="rules">Rulebook</button><button data-tab="print">Print &amp; keep</button></nav><div class="top-actions"><button id="open-project">Open game</button><button id="save-source">Save source</button><button class="primary" id="export-kit">Export kit ↗</button></div></header>
<div id="notice" role="status" hidden></div><div id="source-notice" class="source-notice" hidden><span>The source changed while this edition was open.</span><button id="keep-draft">Download my draft</button><button id="load-source">Keep both &amp; load source</button></div>
<main id="workbench" class="workspace"><aside class="library"><div class="eyebrow">YOUR GAME / COMPONENTS</div><h2 id="library-title"></h2><p class="muted">Edit the things people hold.</p><div class="row"><button id="add-component">+ Component</button><button id="edit-metadata">Game details</button></div><div id="component-list"></div><div class="rule-settings"><h3>Rule settings</h3><div id="settings"></div><button id="edit-rules">Edit rules module</button></div></aside>
<section class="table-area"><div class="game-heading"><div><div class="eyebrow">PLAY YOUR CREATION</div><h1 id="game-title"></h1><p id="game-subtitle"></p></div><div class="edition"><span id="source-state">Opening…</span><div class="row"><button id="undo-edit">Undo edit</button><button id="redo-edit">Redo</button></div></div></div><div class="play-toolbar"><label>Seed <input id="seed" value="first-game" maxlength="128"></label><button id="restart">Restart</button><button id="undo-turn">Undo turn</button><button id="save-replay">Save replay</button><button id="open-replay">Open replay</button></div><div id="edition-notice" hidden><span>The table is playing the previous edition.</span><button id="apply-edition">Keep playtest &amp; apply edits</button></div><div class="tabletop"><div id="scores"></div><div class="turn-heading"><div><h2 id="turn-title"></h2><p id="turn-message"></p></div><span id="turn-count"></span></div><div id="zones"></div><div id="actions" aria-label="Legal moves"></div><div id="curtain" hidden><div class="eyebrow">PASS THE TABLE</div><h2 id="curtain-title"></h2><p>Hand the screen to the next player before revealing their view.</p><button class="primary" id="reveal">I’m ready · reveal my turn</button><small>This curtain conceals casual views. Source files and replays contain the game.</small></div></div><section class="playtesting"><div><div class="eyebrow">CHECK THE RULES</div><h3>What happens over many games?</h3><p>Find dead ends and compare outcomes under a named policy.</p></div><div class="row"><label>Games<input id="simulation-count" type="number" min="1" max="200" value="50"></label><label>Policy<select id="policy"><option value="uniform">Uniform legal choices</option><option value="authored">Authored policy</option></select></label><button id="simulate">Run playtest</button></div><div id="simulation-report"></div></section></section>
<aside class="inspector"><div class="eyebrow">COMPONENT STUDIO</div><div id="component-preview"></div><form id="component-form"></form></aside></main>
<main id="rules" class="document-view" hidden><div class="eyebrow">THE GAME PEOPLE WILL PLAY</div><h1>Write the rulebook</h1><p class="muted">Explain setup, each decision, scoring and the end of the game. Keep these words in step with your rules module.</p><div id="rulebook-editor"></div><button id="add-section">+ Section</button><button id="print-rules">Open printable rulebook</button></main>
<main id="print" class="document-view" hidden><div class="eyebrow">FROM SCREEN TO TABLE</div><h1>Keep the whole game.</h1><p class="lead">A playable file, editable source, and the things you can print and hold.</p><div class="delivery-grid"><article><span>01 / PLAY</span><h2>Offline game</h2><p>Open it in a browser. Play, edit components and save your edition.</p><button id="export-html">Download game HTML</button><button id="export-project">Download project</button></article><article><span>02 / MAKE</span><h2>Print &amp; play</h2><p>A4 component sheets at physical size, separate SVGs and board sheets. Print at 100% and check the calibration line.</p><button id="print-components">Open component sheets</button><button id="print-rulebook">Open rulebook</button></article><article><span>03 / KEEP</span><h2>Complete kit</h2><p>Game, source, rulebook, components, boards and the current playtest replay in one ZIP.</p><button id="export-kit-secondary">Download complete kit</button></article></div><div id="print-preview"></div><p class="muted">Card backs are supplied separately for gluing or opaque sleeves. No duplex alignment is assumed. Save PDF from the print dialog; command-line export also produces PDFs.</p></main>
<dialog id="editor-dialog"><form method="dialog"><button class="close" aria-label="Close editor">×</button></form><h2 id="editor-title"></h2><div id="editor-content"></div><button id="editor-apply" class="primary">Apply changes</button></dialog>
<input id="face-file" type="file" accept="image/png,image/jpeg,image/webp,image/svg+xml" hidden><input id="project-file" type="file" accept=".json,.relay.json" hidden><input id="replay-file" type="file" accept=".json" hidden>
<script id="relay-data" type="application/json">RELAY_DATA</script><script>/* RELAY_APP */</script></body></html>