Commit graph

318 commits

Author SHA1 Message Date
Frederic Jung
abd55c0846
Release notes: a story for big releases, and the 2.0 story
A CHANGELOG section may open with prose before its first bullet. The build bakes it
into the page and version.json, and "What's new" tells it in full with a link to every
change on GitHub instead of the first sentences of five bullets. The 2.0.0 section gets
its story and every change grouped under headings, Architect runs included.
2026-10-30 16:28:19 +01:00
Frederic Jung
dbd2fa7b55
Routers: the picture in the POP overview's header, left of the city name 2026-10-30 15:48:49 +01:00
Frederic Jung
78d2b7c8c9
Routers: the picture only in the POP overview
The list of other models goes back to its badges; only the model a POP runs shows
its picture.
2026-10-30 15:47:37 +01:00
Frederic Jung
73e11349dc
Routers: a picture for every model
Seventeen cartoons in the map's style, one per router model (the ones picked from the
Router Rogues sketches), drawn as inline SVG from a small kit in its own scope and
built only when a panel shows them. A POP's router section shows its model big; the
list of other models shows each one small.
2026-10-30 14:54:10 +01:00
Frederic Jung
5f478dd318
Weekly Architect runs: sites outgrow their tubes, and a countdown
A grow brief raises a site's traffic past what its tubes carry; the reference makes
room by upsizing the busiest tube, or laying a second one where a long cable cannot
grow. Traffic may now reach 380G. The weekly row says when the next run comes out.
2026-10-30 14:07:45 +01:00
Frederic Jung
4e6e8294d2
Architect runs: a generated run every week
scripts/weekly-architect.js picks an HQ in a region the last weeks did not have and
designs each brief against the network a reference architect has built so far, so
every brief asks for something new; the game's own checklist and chaos monkey review
judge it, and the whole run is replayed from the file for three stars. The game
fetches architect/weekly/<key>.json when Puzzles opens, checks it field by field and
writes the briefs' text itself. The Sunday job and the release deploy carry it like
the weekly puzzles and scenarios. Later briefs' cities no longer show early.
2026-10-30 13:44:04 +01:00
Frederic Jung
7672db1992
Puzzles: show one trench or separate paths on the map in every puzzle
Two tubes between the same cities read as one line until clicked (reported by
Thomas Kjær). Every puzzle now draws a shared trench as a bundle with a '2× one
trench' tag and separate paths bowed apart with a '2 paths' tag, at any zoom.
2026-10-30 13:15:38 +01:00
Frederic Jung
dc4c0f07d5
Merge v2 into architect: the chaos monkey in every puzzle, and in normal games
Starting a run or a puzzle now sends a monkey left over from an Architect review away.
2026-10-30 12:33:33 +01:00
Frederic Jung
9fc38fa4f4
Puzzles: the chaos monkey acts out the N-1 star in every puzzle
When a build earns a new star the monkey snips each trench and cable in turn on the
map, and cities that lose traffic say how much; then the stars show. It can be let
loose again or skipped. Puzzle texts talk about the chaos monkey instead of a backhoe.
2026-10-30 12:24:53 +01:00
Frederic Jung
cbb7ca8772
Badges: Met the Backhoe becomes Met the Chaos Monkey
Earned on the monkey's first visit instead of any fiber cut; the badge keeps its id,
so ones already earned carry over. Monkey-proof gets a shield. The monkey's cheer
also cancels a spray still pending from its last hop.
2026-10-30 11:44:22 +01:00
Frederic Jung
f4486ee955
Chaos monkey: a visitor that snips tubes in On-call and BGP at 3 a.m.
Now and then a chaos monkey moves in for 120 to 240 days and snips a tube every
couple of weeks, weak spots first, instead of the usual random outages. Outlast
it without a customer noticing for a bonus and the Monkey-proof badge, or throw
it a banana. Drawn on the map in shades; gameplay rule F4 with its test.
2026-10-30 10:54:25 +01:00
Frederic Jung
b3351fb7d9
Architect runs: a chaos monkey runs round the map snipping tubes
The review is now an animated monkey that hops from cut to cut and sprays
chaos where it snips, instead of the backhoe.
2026-10-30 09:25:20 +01:00
Frederic Jung
ab05c80d68
Architect runs: gold sites are now mission-critical (🚨), in all six languages 2026-10-30 09:05:29 +01:00
Frederic Jung
eeac6ebcf4
CHANGELOG: Architect runs preview 2026-10-30 08:08:48 +01:00
Frederic Jung
92536606dd
Tests, CHANGELOG and docs for the peering desk 2026-10-29 21:41:28 +01:00
Frederic Jung
1b5bce7ba5
CHANGELOG: Gangnam Style Peering redesign 2026-10-29 20:59:24 +01:00
Frederic Jung
d309b70e0e
CHANGELOG: scenario tuning 2026-10-29 20:00:50 +01:00
Frederic Jung
b79eb73fbf
Merge a clearer PNI list (#175, #172) 2026-10-29 19:56:04 +01:00
Frederic Jung
1fcfb58751
Merge specialist play: capability offers, demo units, consortium seats, charters (#187, #173) 2026-10-29 19:31:23 +01:00
Frederic Jung
c40e30234a
CHANGELOG: specialist play (#187, #173) 2026-10-29 19:12:44 +01:00
Frederic Jung
71f459c4e9
PNI list: tests and changelog (#175, #172) 2026-10-29 19:07:44 +01:00
Frederic Jung
8ccf84cf4a
Pick your own AS number next to the name; a round green arrow for another name (#135) 2026-10-29 18:59:07 +01:00
Frederic Jung
3dbd508b64
Tests for the weekly scenario; C1 covers committed weeks; CHANGELOG 2026-10-29 17:40:51 +01:00
Frederic Jung
2eb22d1df3
Title screen: language first, name on top, compact presets, one home-city drawer 2026-10-29 11:31:46 +01:00
Frederic Jung
e880dc69c1
The Networks list shows 100 networks at a time 2026-10-29 11:13:59 +01:00
Frederic Jung
0ad1ef6435
Changelog and architecture notes: puzzles with traffic 2026-10-29 10:51:00 +01:00
Frederic Jung
7cbe0ec09b
Regenerate published weekly puzzles when a release's prices break them
--check now re-solves every week not over yet and, when its budget no longer
verifies, regenerates it deterministically: the same puzzle with a new budget
if that works, else a fresh one for the key. A regenerated file carries rev 2,
3...; the game keeps stars per revision, so only that week's stars reset.
Past weeks are left alone unless the game rejects them. release.yml runs it
before the tests on every deploy, weekly-puzzle.yml before making the new
week; either fails only if a week cannot be regenerated.
2026-10-29 10:03:20 +01:00
Frederic Jung
77ec31d1a0
Give Palau's and the Marshall Islands' networks their real ASNs
PNC-See had AS9534 (Maxis, Malaysia) and Never Too Atoll AS21581 (a US
host); the real operators are AS17893 (PNCC) and AS24439 (NTA). Saves key on
network ids, so nothing stored changes. The fudged numbers of the big carriers
and the African/Latin American incumbents are deliberate and stay.
2026-10-29 09:58:01 +01:00
Frederic Jung
e17ddc247b
Change Freeze stops de-peering at exchanges
Snubs (refused and torn-down sessions at exchanges) are part of the market
rule now, so Change Freeze and puzzles have none; On-call is unchanged.
2026-10-29 09:55:35 +01:00
Frederic Jung
9b7b1c150c
Series of Tubes 2.0.0: one game, four doors 2026-10-29 07:57:21 +01:00
Frederic Jung
efb14680cc
Merge save slots: one network per window, consistent saves 2026-10-29 07:57:00 +01:00
Frederic Jung
5dc7bebfb6
Merge gameplay rules: the rulebook skill, its test, and homegrown eyeballs in every country 2026-10-29 07:50:07 +01:00
Frederic Jung
d2f6ac1d5b
Merge review fixes: DDoS (#153 fixes kept, multi-ingress model dropped), locked rules 2026-10-29 07:49:00 +01:00
Frederic Jung
9fe5f124c6
Merge speed round 2: honest transit bills, faster loading 2026-10-29 07:40:40 +01:00
Frederic Jung
5f412f72d8
Merge v2 into v2-saves 2026-10-29 07:32:19 +01:00
Frederic Jung
c5142046ed
CHANGELOG: China licence lead time, locked rules and attacker names in saves 2026-10-29 07:17:15 +01:00
Frederic Jung
31e44440e8
Flood Season escalates again, and empty POPs no longer hold floods for free
Every flood was 700G or more from day 1, so the scenario no longer built up. Sizes
are 1.36's again (a third terabit monsters, the rest ordinary floods sized to the
city), growing by the year as #153 had it. Floods go for POPs that serve someone,
and a city with nobody to serve only holds a flood its tools soak up. Seeded runs
over a year: no defence or one 1T center cannot win; one 1T center with full
Flowspec and clean pipe wins around day 100 (main needed two centers, day 164).
2026-10-29 07:17:08 +01:00
Frederic Jung
5f09111a95
Merge v2 into v2-gamerules 2026-10-29 07:15:56 +01:00
Frederic Jung
06da3f7456
Gameplay rules skill, pointer in CLAUDE.md, CHANGELOG for homegrown eyeballs 2026-10-29 07:15:32 +01:00
Frederic Jung
94488bf8f7
Save slots: CHANGELOG and architecture notes 2026-10-29 07:05:48 +01:00
Frederic Jung
df8edddfe6
CHANGELOG: faster loading of big networks 2026-10-29 07:05:31 +01:00
Frederic Jung
13376ceb97
Merge the weekly puzzle generator into v2 2026-10-29 07:01:34 +01:00
Frederic Jung
2223a4b044
Merge review fixes: standing orders 2026-10-29 06:58:33 +01:00
Frederic Jung
d56039695c
Attacks arrive as on 1.36 again: drop the distributed multi-ingress flood model
Frederic's call for 2.0: keep #153's fixes, NOC breakdown, new vectors, gaming risk
and overlapping attacks, but not the per-port model. It split every flood over each
ingress port with traffic (over a thousand on a big network), stored them all in the
save, routed one pinned flow per port, and with it came the build-order and
victim-scoring bugs found in review.

Each attack is again one entry port at the victim (a.entry): upstream clean-pipe,
Flowspec on the victim's router, IX blackholing, a sacrificial PNI and RouteScript
filter it in that order (ddosMitigation), then scrubbing; what leaks is junk at the
victim spread like its traffic, exactly as on main. Saves from 2.0 builds with
a.entries load: sanitize drops the shares and a 'distributed' entry becomes 'edge'.
Removed: R.ingressPorts, ddosEntries/ddosFold/ddosSlices/ddosCities/ddosHasIx, pinned
flows (and the pinned-rank handling in routing and its reference), the mixed-TCAM
line and the 'across N ports' message, and their tests; the scrubbing source-city
test now uses two victims sharing one center. CHANGELOG #153 bullets describe what
ships and credit #153.
2026-10-28 20:53:58 +01:00
Frederic Jung
faac3427f3
Merge v2 into v2-weekly 2026-10-28 20:52:08 +01:00
Frederic Jung
587d50decf
Weekly puzzle: tests, CHANGELOG, architecture and deploy notes 2026-10-28 20:50:17 +01:00
Frederic Jung
94b27eadf3
Billing: a recompute after the day tick no longer counts today's 95th-percentile sample twice
dayTick() routes the day, then appends today's transit use to t.hist. Every
compute() after that (any click, the intern, the sales trial) took the last 29
entries of t.hist, which now end on today, and added today's use again: today
counted twice and the 30th day back dropped out. So compute() gave a different
transit bill the second time after each day. p95() now leaves today's sample out
once S.hist says the day has been recorded.

This was the only part of compute() that was not a pure function of S. The rest
of the drift round 1 saw (R right after dayTick vs. a fresh compute) is dayTick
itself changing S after its compute (customers churning, events ending), which
is intended: the next day routes the new state. Scenic circuits' hysteresis is
documented, with a test that two calls converge.
2026-10-28 20:42:08 +01:00
Frederic Jung
ec1cf7d3b5
CHANGELOG: standing orders as they ship (sales and repair orders credit #185, PNI batches in the Ops sheet, weekly report) 2026-10-28 20:40:25 +01:00
Frederic Jung
b485b54d20
Merge review fixes: puzzles 2026-10-28 20:25:02 +01:00
Frederic Jung
f13b0d40af
Merge review fixes: Tier 1 cone, badges, merged-PR polish 2026-10-28 20:21:11 +01:00