seriesoftubes/scripts
Frederic Jung 37def9dd6b
The game as a local MCP server: play, inspect and debug it from an AI client
scripts/mcp.js speaks MCP over stdio and loads the game from src/ in jsdom,
seeded, like the tests. Tools: new_game, load_save, export_save, status,
advance (with per-day timings), network, city, find, traceroute,
peering_check, hot_spots, actions, act, screen, panel, click, open_link.
Actions go through ACT as buttons do; files, slots, settings and the clock
stay out of reach, and nothing evaluates code in the page. Nothing is
hosted and the page is unchanged. See docs/MCP.md.
2026-11-01 18:04:22 +00:00
..
legacy Docs: the single-file page and English keys lasted until 1.34 2026-10-27 11:28:17 +01:00
lib The game as a local MCP server: play, inspect and debug it from an AI client 2026-11-01 18:04:22 +00:00
build.js Release notes: a story for big releases, and the 2.0 story 2026-10-30 16:28:19 +01:00
dev.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
i18n-add.js Translations keyed by labels instead of English text 2026-10-27 11:05:09 +01:00
i18n-check.js Ship short ids instead of labels; checker, tests and docs for labels 2026-10-27 11:27:11 +01:00
mcp.js The game as a local MCP server: play, inspect and debug it from an AI client 2026-11-01 18:04:22 +00:00
perf-bench.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
perf-browser.js Benchmark in real Chromium too, and only call a row slower when the samples say so 2026-10-26 12:04:57 +01:00
perf-fixture.js Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
perf-stats.js Benchmark in real Chromium too, and only call a row slower when the samples say so 2026-10-26 12:04:57 +01:00
release-notes.js Release notes: a story for big releases, and the 2.0 story 2026-10-30 16:28:19 +01:00
test-timings.js CI: tests in four parts on four runners, every core in use, older PR runs cancelled 2026-10-31 14:11:02 +01:00
test.js CI: tests in four parts on four runners, every core in use, older PR runs cancelled 2026-10-31 14:11:02 +01:00
weekly-architect.js Weekly Architect runs: sites outgrow their tubes, and a countdown 2026-10-30 14:07:45 +01:00
weekly-puzzle.js Weekly puzzle: schema 2 with traffic, sized references, regenerated weeks 2026-10-29 10:50:04 +01:00
weekly-scenario.js DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00