Commit graph

884 commits

Author SHA1 Message Date
Frederic Jung
a0a492f19e
Standing orders: a re-hired intern starts on a fresh month's budget 2026-10-28 20:03:25 +01:00
Frederic Jung
ad07bfeada
CHANGELOG: puzzle budgets get tighter pack by pack, and a cable fails as a whole 2026-10-28 20:02:02 +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
6d839102b5
Pinned attack flows route at their entry port's own rank, not a cone rank
base() now takes the target network; pinned junk has none, so coneOf() called every
PNI a cone route and the flood was routed late (behind real traffic) or not at all.
Pinned flows use the port's own rank (low preference still last), those ranks join
RSET, and the reference allocation in the routing test does the same.
2026-10-28 19:58:25 +01:00
Frederic Jung
f4980dc098
Puzzles: bigger buttons and clearer city chips on phones
On phones the puzzle card's Undo, Reset, Back and menu buttons are 40 px touch
targets and stay pinned at the foot of the sheet when longer languages make it
scroll. Goal cities show a leading mark (○ to reach, ◐ POP open, ✓ joined)
instead of a trailing one that looked cut off.
2026-10-28 19:56:55 +01:00
Frederic Jung
0c4d9c0869
Infra tab shows the redundancy kit as one line instead of repeating its rows (#192) 2026-10-28 19:51:21 +01:00
Frederic Jung
2a5a26a831
Merge performance work into v2: faster routing and sales trials 2026-10-28 19:50:33 +01:00
Frederic Jung
28743698a3
Puzzles: a city to avoid reads as a rule
You cannot build in it anyway, so the card shows "Rule: not via Frankfurt"
instead of a goal that could never be failed.
2026-10-28 19:50:08 +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
499862b140
Redundancy check routes once, against the live routing (#62) 2026-10-28 19:47:19 +01:00
Frederic Jung
ed4d029ba1
CHANGELOG: connectivity prices without naming data providers 2026-10-28 19:42:35 +01:00
Frederic Jung
837c56c13e
Connectivity prices for the 47 cities that had no data (#94) 2026-10-28 19:42:35 +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
e3534cad4b
Custom metric panel updates on Safari after switching multiplier and cost (#131) 2026-10-28 19:38:55 +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
9279908f7d
Say which Australians sit in a Tier 1 cone, and test exactly those 2026-10-28 19:35:27 +01:00
Frederic Jung
db429b1d74
Badge upgraded toast follows the collection on this device 2026-10-28 19:34:41 +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
92d276bdc5
Network panel names the peer that really carries a cone-reached network 2026-10-28 19:32:53 +01:00
Frederic Jung
f69a0a526f
Merge main (1.37.0) into v2 2026-10-28 19:31:09 +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
462e783599
Every city has its country code; the 2x border toll stays an African thing 2026-10-28 19:00:58 +01:00
Frederic Jung
7def8113f4
Routing: remember each list's first exit group per source city while its exits have room
Most flows from one city ask the same rank list for the same nearest group of exits. Exits only
fill up while routing, so while every exit in that group still has room the scan would find it
again; it is reused instead. Networks with identical exit lists share one list, so the memory
serves them all. Same groups, same order, same result (routing-reference and speed tests).
2026-10-28 18:51:09 +01:00
Frederic Jung
2d12a20e34
Routing: a flow scans only the exits on its own island
The big fixture is a dozen islands (POPs no backbone joins). Each flow scanned every exit in its
rank's list and threw away the unreachable ones, two thirds of the scan. Lists are now split per
island once per compute; with one island nothing changes. Same exits, same order, same result
(routing-reference gains a network-of-islands case).
2026-10-28 18:36:44 +01:00
Frederic Jung
1f182b0df9
Pinned attack flows are routed even when RouteScript moves every other exit off their rank
The rank loop skips ranks no list uses (RSET), but flows pinned to an entry
port route at the port's plain rank. With 'prepend transit' or 'prefer transit'
moving every transit to 2.9/4.4, rank 3 was skipped and the flood vanished.
Fixes tests/routing-reference.test.js, which failed on v2.
2026-10-28 18:16:31 +01:00
Frederic Jung
de8ce0a6c3
Merge v2: standing orders, resolved as v2 has it 2026-10-28 18:16:30 +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
d0fbbed96a
Merge v2 (the eight community PRs) under the ruleset, puzzles and Tier 1 by cone
Integration base for performance work: origin/v2-orders' merge of v2 and the
ruleset, onto v2-doors. Pinned attack flows (#153) route at their port's plain
rank (no customer cone), and that rank is always tried even when RouteScript
moved every other exit off it.
2026-10-28 18:05:45 +01:00
Frederic Jung
829d3a4ba6
CHANGELOG and architecture notes for standing orders 2026-10-28 17:52:42 +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
08413b53a3
Tests: #185 sales and repair run as standing orders; batches open from the Ops sheet 2026-10-28 17:46:16 +01:00
Frederic Jung
4717bc0f75
Standing orders in German, Spanish, French, Italian and Portuguese 2026-10-28 17:43:12 +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
48e6200c53
German, Glowball Sakura Lager, CN-Too premium in Moscow (1.37.0) 2026-10-28 17:24:18 +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
Frederic Jung
78100bd158
Puzzles: landscape framing, toasts beside the card, CHANGELOG (#190) 2026-10-28 16:24:06 +01:00
Frederic Jung
7fc8d0f080
Puzzles: small, calm network builds with stars, packs and a weekly puzzle (#190) 2026-10-28 16:21:25 +01:00
Frederic Jung
fa4e30692e
Merge the ruleset and four doors into v2 2026-10-28 15:45:09 +01:00
Frederic Jung
33c84964fa
Architecture: where the ruleset lives 2026-10-28 15:30:13 +01:00
Frederic Jung
66e13d2fc3
Saves made as puzzles load with the puzzle rules 2026-10-28 15:29:22 +01:00
Frederic Jung
531f90f107
One game, four doors: a per-save ruleset with Change Freeze, On-call and BGP at 3 a.m., a real Sandbox, and a new start screen 2026-10-28 15:27:04 +01:00
Frederic Jung
370ac536f6
Merge #192: Add bulk peering, cache and PoP redundancy utilities (Columbo818) 2026-10-28 15:25:15 +01:00
Frederic Jung
35fb35103f
Merge #185: auto sale + auto repair automation (Logfro) 2026-10-28 15:23:07 +01:00