seriesoftubes/src/game/60-features
jvanvik d1e127da67 Server-run play, part 1: game prerequisites and shared contracts
Groundwork for running multiplayer games on the session server; nothing
of it is switched on yet, and the plain build is unchanged.

- A new network in two halves (beginState/beginShow), the coach split into
  tutAdvance/coachDom, toastPop split out of toast, bootNotes() for the
  once-per-load toasts, the five text actions take their text as an
  argument, and srvOn() with its two checks in the loop.
- Live state is what a reload makes of it (migrate() is a no-op on it):
  new POPs, ports, PNIs, customers, attacks, dark fiber and the intern's
  notes are written in their saved shape; a 365-day test proves it.
- pniAll and bstdApply check the quote the sheet showed (bstdApply by its
  plan, within 1% for the daily hardware drift; utilityKit too).
- assemble({mp}) leaves src/game/98-server-play/ and its CSS out of every
  page but a multiplayer build's, which also gets a SIM_ID build id.
- Contracts for the server, protocol and browser parts: the action tables
  and envelope check (scripts/lib/mp-sim-acts.js), event fixtures, a shape
  checker, a fake engine, and load({mp:true}) in the test harness.
- route-fuzz judges both pages with one migrate(), so reload repairs of
  the base no longer count as divergences.
2026-11-07 10:26:06 +01:00
..
10-banks.js Satellite teleports: GEO and MEO circuits for islands and remote towns (#83) 2026-11-07 01:12:23 +01:00
20-scenarios.js Server-run play, part 1: game prerequisites and shared contracts 2026-11-07 10:26:06 +01:00
30-conferences.js Dark mode: Light, Dark or Auto under Settings › Theme (#80) 2026-11-07 01:01:50 +01:00
33-address-space.js IPv6-only broadband: 464XLAT city by city, a NAT64 pool next to CGNAT 2026-11-07 07:01:34 +01:00
34-ipv6-only.js IPv6-only broadband: 464XLAT city by city, a NAT64 pool next to CGNAT 2026-11-07 07:01:34 +01:00
35-capacity-deals.js Specialist play: capability offers, vendor demo units, pioneer fiber, consortium seats and charters (#187, #173) 2026-10-29 19:12:44 +01:00
36-specialist.js Dark mode: Light, Dark or Auto under Settings › Theme (#80) 2026-11-07 01:01:50 +01:00
37-cable-broker.js Dark mode: Light, Dark or Auto under Settings › Theme (#80) 2026-11-07 01:01:50 +01:00
37-fiber-broker.js Customers come and go: contracts, renewals at the market price, growth, haggles and leaving (#178) 2026-11-05 08:15:53 +01:00
38-sales-desk.js Server-run play, part 1: game prerequisites and shared contracts 2026-11-07 10:26:06 +01:00
39-sales-auto.js Merge upstream: route worker for every routing, intern specialisations, sales renewals, French cities 2026-11-07 05:26:28 +01:00
39-sales-renewals.js Merge pull request #313: every routing a day needs runs in the route worker, and a long day lets frames through 2026-11-06 22:47:54 +01:00
40-tutorial.js Server-run play, part 1: game prerequisites and shared contracts 2026-11-07 10:26:06 +01:00
45-teleports.js Satellite teleports: GEO and MEO circuits for islands and remote towns (#83) 2026-11-07 01:12:23 +01:00
50-traceroute.js Satellite teleports: GEO and MEO circuits for islands and remote towns (#83) 2026-11-07 01:12:23 +01:00
60-share-card.js Specialist play: capability offers, vendor demo units, pioneer fiber, consortium seats and charters (#187, #173) 2026-10-29 19:12:44 +01:00
70-scenario-progress.js Weekly scenario in the game: goal types, file validation, Scenarios row, streak and share line 2026-10-29 17:34:38 +01:00
80-new-game.js Server-run play, part 1: game prerequisites and shared contracts 2026-11-07 10:26:06 +01:00
85-pitcairn.js Satellite teleports: GEO and MEO circuits for islands and remote towns (#83) 2026-11-07 01:12:23 +01:00
89-multiplayer.js Server-run play, part 1: game prerequisites and shared contracts 2026-11-07 10:26:06 +01:00
90-automation.js Server-run play, part 1: game prerequisites and shared contracts 2026-11-07 10:26:06 +01:00
90-puzzles-data.js Puzzles: eighteen puzzles in five packs with traffic, and their tests 2026-10-29 10:48:24 +01:00
92-puzzles.js Puzzles on phones: three goals in plain words with Show me, the problem marked on the map, a sheet that starts small, and a quieter map 2026-11-04 21:48:21 +01:00
93-puzzles-weekly.js Merge v2 (small fixes, weekly rev) into puzzles with traffic 2026-10-29 10:36:21 +01:00
94-scenarios-weekly.js Scenario playtest: goals that need the theme, tighter days, a real Anchors Away 2026-10-29 19:51:35 +01:00
95-standing-orders.js The build standard owns the router model and the line system; one owner per fiber 2026-11-07 06:55:01 +01:00
96-architect.js Architect runs: a generated run every week 2026-10-30 13:44:04 +01:00
96-pop-standard.js The build standard owns the router model and the line system; one owner per fiber 2026-11-07 06:55:01 +01:00
97-puzzle-monkey.js Puzzles: the chaos monkey acts out the N-1 star in every puzzle 2026-10-30 12:24:53 +01:00
98-architect-weekly.js Weekly Architect runs: sites outgrow their tubes, and a countdown 2026-10-30 14:07:45 +01:00
99-pie-in-the-sky.js Pie in the Sky: the Founder's antics make markets jumpy, then it wears off 2026-11-06 09:58:00 +01:00
99-pie-jitters.js Pie in the Sky: the Founder's antics make markets jumpy, then it wears off 2026-11-06 09:58:00 +01:00
99-pie-orbit-customers.js Deals belong to Sales: the intern sticks to the network, the sales desk signs deals for you, orbit ones too 2026-11-06 09:58:01 +01:00
99-pie-patchy.js Pie in the Sky, the early game: a pace forecast on the Launch tab, patchy-sky customers before 40%, a hint to wait on dishes 2026-11-06 09:58:00 +01:00
99-pie-sales.js Deals belong to Sales: the intern sticks to the network, the sales desk signs deals for you, orbit ones too 2026-11-06 09:58:01 +01:00
99-pie-subsidies.js Satellite teleports: GEO and MEO circuits for islands and remote towns (#83) 2026-11-07 01:12:23 +01:00