Commit graph

68 commits

Author SHA1 Message Date
Frederic Jung
170914b05e
Architect runs: later briefs stay a surprise
No numbered tags beside cities, no "coming up" plan on a city card and no hint
to build there early: you design for today's brief and find out what comes next.
2026-10-30 11:18:54 +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
235ff2f9b5
Merge v2 into architect 2026-10-30 08:01:42 +01:00
tkjaer
644e6174d9
Architect runs (prototype): one network, built brief by brief
Three runs (Euro Run, Coast to Coast, Pacific Rim) on the puzzle machinery: briefs add sites,
raise demand, make sites gold, ask for rings or latency caps, or close a city; earlier builds
stay paid for, and the backhoe review cuts every trench and cable in turn. By tkjaer, from
seriesoftubes-architect.
2026-10-30 08:01:42 +01:00
Frederic Jung
4ebe8418a0
Peering desk: incoming requests answered by policy; inbox, max-prefix and the Large Peering Model removed 2026-10-29 21:37:05 +01:00
Frederic Jung
b008b3a652
Gangnam Style Peering: sender pays that bites
Under the scenario's new sender rule, Seoul transit carries a sender-pays fee per
Gbps, the Korean incumbents take traffic only over a paid PNI, home broadband pays
less, and Korean users mind any far exit, peering included. The goal asks for
700 Gbps, Seoul 92% served well, 99% reach and a monthly profit. Korea outside
the scenario is unchanged; older Gangnam saves pick up the rule.
2026-10-29 20:59:13 +01:00
Frederic Jung
826ccbef46
Scenario playtest: goals that need the theme, tighter days, a real Anchors Away
Mind the Gap, Cape to Cairo and Order and Progress count cities and IX.brrr ports only
when your network joins them up (island POPs won without crossing anything). Fibre to
the Basement also needs 500 Gbps served (it was won on day 2). Anchors Away: nobody sells
transit in Tallinn, ships really do cut the Baltic links about three times a link-year,
and the 99.5% streak no longer counts Great Firewall losses. In the Cogentle Spat, Goggle
peers only once you send it eight times the usual traffic. Flood Season's terabit floods
count when scrubbing or Flowspec took them. Days cut where a reference won in a tenth of
the time; Stepping Stones and Mid-Atlantic Accent start with 5M; Mid-Atlantic Accent's
description no longer claims Lisbon to Lagos is too long for 1.6T.
2026-10-29 19:51:35 +01:00
Frederic Jung
4e17728a20
Specialist play: capability offers, vendor demo units, pioneer fiber, consortium seats and charters (#187, #173) 2026-10-29 19:12:44 +01:00
Frederic Jung
a98a0f7154
WIP: own AS number on the title 2026-10-29 18:56:44 +01:00
Frederic Jung
da7f4e6927
Weekly scenario in the game: goal types, file validation, Scenarios row, streak and share line 2026-10-29 17:34:38 +01:00
Frederic Jung
f24abe8fc7
Puzzles keep going until three stars: a cheer for each new star, results at three or on Finish 2026-10-29 11:44:39 +01:00
Frederic Jung
12ef18f9e6
Puzzles: eighteen puzzles in five packs with traffic, and their tests
Fat Pipes, Router Rodeo, Traffic Cops, N-1 Club and Grand Tour. Every puzzle has
1-star and 3-star references played through the player's actions; budgets sit
over the cheapest 3-star build the solver found, and the tests check that no
single change keeps three stars for less.
2026-10-29 10:48:24 +01:00
Frederic Jung
69689f18f4
Merge v2 (small fixes, weekly rev) into puzzles with traffic 2026-10-29 10:36:21 +01:00
Frederic Jung
e90f5f675e
Puzzles: real traffic routed by the game, routers, link sizes and paths
Every puzzle now carries demand (eyeballs pulling from a content origin, circuits
with latency caps, best-effort flows) routed by compute(). Stars: delivered,
within budget, N-1 under load. Routers, ports, metrics, standby and the
redundancy check work in puzzles; the whole world is open. Weekly schema 2
carries the demand; scripts/lib/puzzle-solver.js sizes and searches builds.
2026-10-29 10:35:28 +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
5f412f72d8
Merge v2 into v2-saves 2026-10-29 07:32:19 +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
da8150b7c4
Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
Frederic Jung
faac3427f3
Merge v2 into v2-weekly 2026-10-28 20:52:08 +01:00
Frederic Jung
34b72f6d44
Weekly puzzle: Sunday 06:00 Berlin weeks, published puzzle fetched when Puzzles opens, seeded fallback, countdown and door badge 2026-10-28 20:42:37 +01:00
Frederic Jung
94e71beb16
Standing orders: the Ops sheet opens with the intern's mood and a weekly shift report 2026-10-28 20:39:33 +01:00
Frederic Jung
0788b98729
Standing orders: the intern's NOC notice is one shift report a week; the daily lines stay in the Ops sheet 2026-10-28 20:38:27 +01:00
Frederic Jung
e56659f949
Standing orders: caches get a running-cost budget and respect the cash floor; budgets and the shift log show monthly costs 2026-10-28 20:28:50 +01:00
Frederic Jung
b485b54d20
Merge review fixes: puzzles 2026-10-28 20:25:02 +01:00
Frederic Jung
ef700a3480
Standing orders: one failing order is paused instead of breaking the day; the LAG slip follows the transit order's switches 2026-10-28 20:22:09 +01:00
Frederic Jung
f13b0d40af
Merge review fixes: Tier 1 cone, badges, merged-PR polish 2026-10-28 20:21:11 +01:00
Frederic Jung
23634241c0
Standing orders: per-POP exceptions are dropped with their POP 2026-10-28 20:19:48 +01:00
Frederic Jung
e7554f66ea
Standing orders: no recompute on a shift that changed nothing in the network 2026-10-28 20:17:59 +01:00
Frederic Jung
9dbbfbe1b8
Standing orders: decommission routes with this shift's new customers before handing back waves 2026-10-28 20:16:35 +01:00
Frederic Jung
7b7d3ea1b3
Standing orders: the spare wave kept by decommission sits in another trench than the big link 2026-10-28 20:12:54 +01:00
Frederic Jung
d69e340f9a
Standing orders: transit never comes from a provider that breaks a customer's requirement, a covenant or the Spat 2026-10-28 20:07:08 +01:00
Frederic Jung
3fa3b3e579
Puzzles: results pull you on to the next one
After three stars, Next puzzle is the one big button (and has the focus); the
results card counts the stars still to win in the pack; and when one more link
within budget would earn the third star, the card and the results say so.
2026-10-28 20:01:58 +01:00
Frederic Jung
9902599a23
Puzzles: main-game toasts and buttons no longer reach into a puzzle
Toasts are cleared when a puzzle starts and when you leave it, and every
main-game action (ops, inbox, bank, building, routers and the rest) does
nothing while a puzzle is on; only the puzzle's own actions, menus and
settings work there.
2026-10-28 19:48:11 +01:00
Frederic Jung
66652576e5
Puzzles: the best spend in the list is the cheapest build at your best stars
Progress is recorded on every change, not only when the stars go up: more stars
start the best spend again, and a cheaper build at the same stars replaces it.
2026-10-28 19:41:10 +01:00
Frederic Jung
d3f550cc3e
Puzzles: budgets follow a difficulty curve
The first pack leaves 16-18% over the cheapest three-star build, the Pacific and
speed packs about 10%, and the N-1 Club 6-7%. The first pack no longer promises
no budget. A brute-force check in the tests keeps each reference build the cheapest.
2026-10-28 19:39:00 +01:00
Frederic Jung
e0a02276a2
Only Spätzle-IX asks for 50% reach, now that Tier 1 cones count 2026-10-28 19:37:40 +01:00
Frederic Jung
843811956b
Puzzles: a POP in a thin market counts its higher monthly rent
The puzzle price and the city panel now use the city's own monthly POP rent
(Suva is 1.5x), not the plain one, matching the higher setup already charged.
2026-10-28 19:36:12 +01:00
Frederic Jung
19a9c60fd5
Puzzles: a cable fails as a whole in the N-1 check
Two waves on the same cable now share one failure, as in the main game's
diversity checks. Kiwi Fruit Salad gets Los Angeles as a stepping stone (Seattle's
only cable south is Hawaiki), Samba Sprint's budget rises to $1.06M, and the
weekly reference ring never puts two hops on one cable.
2026-10-28 19:35:29 +01:00
Frederic Jung
cc898ea282
Badge variants are looked up as own keys, never through the prototype 2026-10-28 19:34:00 +01:00
Frederic Jung
6693d734e6
Traceroute shows every network down a customer cone, one hand-off per step 2026-10-28 19:32:53 +01:00
Frederic Jung
2873ee3435
Sales trial: run the pass with the offer first, and skip the other when it cannot change the answer
With events booked ahead the trial routed the network twice: without the offer (who is happy now)
and with it. compute() only reads the previous result for scenic circuits, so without those the
order of the two passes does not matter. With the offer first, a failing offer or one nobody is
unhappy with needs no second pass. The same offers are signed (tests/sales-trial.test.js checks
over 100 seeded offers against the original trial, scenic or not).
2026-10-28 19:14:51 +01:00
Frederic Jung
946da17c8b
Merge Puzzles, Tier 1 by customer cone and badge variants into v2 2026-10-28 18:14:56 +01:00
Frederic Jung
47fbd1c124
Standing orders: one sales trial per shift, so a big network's day stays fast 2026-10-28 18:13:48 +01:00
Frederic Jung
c3c25fe565
Tests for standing orders: each order costs what the clicks cost; budget, pause, saves, fat fingers, phones 2026-10-28 17:52:37 +01:00
Frederic Jung
7c8fa68659
Standing orders: a NOC intern runs the player's orders once a day (#98) 2026-10-28 17:40:22 +01:00
Frederic Jung
39ef7c13bb
Merge Tier 1 by customer cone and badge variants 2026-10-28 17:08:10 +01:00
Frederic Jung
6489db146e
Tier 1 by customer cone (#85), and badge variants per ruleset preset
Cones: a PNI or IX session reaches the peer and its transitive customer cone,
precomputed once at load (CONE/CONE_S/DOWN/ANC). Cone routes rank after direct
peering and before transit (CONE_RANK 2.5), so peering widely still pays. The
long tail and several real eyeballs get real-world upstreams. Cones only add
reach, so the rule is easier for every save and needs no version flag.

Badges: S.achP[id] records the preset variant (freeze/oncall/bgp), sanitized,
default 'oncall' for old saves; the device hall of fame records every variant
earned. Harder presets upgrade a badge; toast, list, collection shelf and the
share card show it. Sandbox and puzzles earn none.
2026-10-28 16:54:19 +01:00
Frederic Jung
8df1b82a2e
Puzzles behind the Puzzles door: merge v2-puzzles onto the ruleset
Puzzles run on the puzzle preset (clock off); the temporary title button is gone and the door opens the puzzle list.
2026-10-28 16:39:05 +01:00