Commit graph

832 commits

Author SHA1 Message Date
Frederic Jung
79616ead03
Title on phones: a long Continue button wraps instead of making the card scroll sideways 2026-10-29 20:35:18 +01:00
Frederic Jung
c09e293939
Merge the playtest: every scenario and puzzle solvable, tuned and tested 2026-10-29 20:22:46 +01:00
Frederic Jung
271c562205
Tests: Mind the Gap, Order and Progress, Fibre to the Basement and Flood Season checks follow the tuned goals 2026-10-29 20:22:20 +01:00
Frederic Jung
d309b70e0e
CHANGELOG: scenario tuning 2026-10-29 20:00:50 +01:00
Frederic Jung
97223e9d12
Puzzle playtest: Flash Boys' one-star reference is a one-star build; a test that each pack's idea is needed for three stars 2026-10-29 19:59:01 +01:00
Frederic Jung
6ae5cd30dc
Merge branch 'v2' into v2-playtest 2026-10-29 19:57:15 +01:00
Frederic Jung
0ca9ad8a95
Scenario playtest test: a reference strategy and a failing shortcut for every scenario (C1) 2026-10-29 19:57:15 +01:00
Frederic Jung
b79eb73fbf
Merge a clearer PNI list (#175, #172) 2026-10-29 19:56:04 +01:00
Frederic Jung
68bea796f6
Stale PNI button test: open the Tier 2 group, folded when nothing there is worth it (#175) 2026-10-29 19:53:38 +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
1065630d29
Make the #134 exchange-name test independent of which failure the dice pick 2026-10-29 19:38:23 +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
d6856591b4
Tests for specialist play, and gameplay rule F3: specialist paths only bring servable customers 2026-10-29 19:12:44 +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
71f459c4e9
PNI list: tests and changelog (#175, #172) 2026-10-29 19:07:44 +01:00
Frederic Jung
d48fdbf2e5
PNI list: status chips, value line, worth-it tag, filters and groups by type (#175, #172) 2026-10-29 19:07:44 +01:00
Frederic Jung
2699634e0f
PNI list: remember where each flow leaves, and price a PNI per POP from it (#175) 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
a98a0f7154
WIP: own AS number on the title 2026-10-29 18:56:44 +01:00
Frederic Jung
be63e3df67
Title: a hidden label for the language picker; the How the Internet Works card is checked in How to play 2026-10-29 18:01:27 +01:00
Frederic Jung
2604a9c74c
Merge the weekly scenario generator 2026-10-29 18:00:15 +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
0ece48a79d
Ship weekly scenarios with the weekly puzzle run; docs and skills 2026-10-29 17:34:38 +01:00
Frederic Jung
d8df1e37f6
Weekly scenario generator with a reference player, and weeks 2026-W44 to W46 2026-10-29 17:34:38 +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
2eb22d1df3
Title screen: language first, name on top, compact presets, one home-city drawer 2026-10-29 11:31:46 +01:00
Christopher Hawker
ac5928d41d A carrier's own transit port takes its traffic, with a Carry here switch for other POPs
Transit ports at a POP shared load by free capacity whatever the traffic
was for, so Level Tree's own traffic went out of a Tell-Ya port about
half the time. Traffic bound for a carrier, or for a network that buys
transit from it, now goes out of that carrier's port at the same POP
first (the shorter AS path). Each such port is still an ordinary transit
exit, so POPs without one use it when nothing nearer has room.

A new switch on each transit port, Carry here, pulls that traffic from
every POP across your network to this port. The default, Nearest port,
keeps using the closest transit port from POPs that have no port of the
carrier. The switch only shows when another carrier's port could take
the traffic instead.

Prefer-marked ports, Backup only, RouteScript and Auto-TE keep their say,
and any Prefer-marked transit port switches the rule off. Traceroute
follows the same rule and says why it picked an exit. The setting is
repaired in sanitize(); old saves load with it off.

The routing reference test now has several carriers sharing POPs, ports
that carry, backup ports and RouteScript, and its reference loop knows
the new ranks.
2026-10-29 21:16:21 +11:00
Frederic Jung
e880dc69c1
The Networks list shows 100 networks at a time 2026-10-29 11:13:59 +01:00
Frederic Jung
40019c46ae
Merge Puzzles 2: puzzles with real traffic 2026-10-29 11:09:36 +01:00
Frederic Jung
0ad1ef6435
Changelog and architecture notes: puzzles with traffic 2026-10-29 10:51:00 +01:00
Frederic Jung
b640ab9814
Weekly puzzle: schema 2 with traffic, sized references, regenerated weeks
The generator gives every week content in its first city and eyeballs in the
others (a latency sprint adds a circuit with a cap), sizes both references with
the game's routing, and keeps the per-week rev refresh working with it.
2026-10-29 10:50:04 +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
a93eb3e8fd
Merge: Change Freeze stops de-peering, ASN fixes, weekly puzzles regenerate, lighter NOC 2026-10-29 10:33:33 +01:00
Frederic Jung
cc89a266f3
Lighter NOC traffic table: fewer elements and inline styles per network row
The traffic tab lists every network with traffic, now 63 more, each with a
Peer on all POPs button. Rows drop empty traffic-mix segments, the button's
wrapper div and two inline styles (now classes), with the same look. On the
big fixture the tab has 16% fewer elements; NOC dashboard tabs 390 -> 331 ms
against the previous commit (p=0.014).
2026-10-29 10:33:12 +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
08e88d53a8
Save slots: reuse the parsed index between autosaves 2026-10-29 07:40:14 +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