Commit graph

64 commits

Author SHA1 Message Date
Frederic Jung
9df1835f70
More real cables: North Sea, Baltic, Tampnet, Indian Ocean and Asia-Pacific
North Sea and Baltic: Kristiansand, Esbjerg and Riga as new landings.
Havfrue's Danish and Norwegian landings, HAVSIL, Skagenfiber, Norfest and
NorSea Com (Tampnet, past the Draupner and Ekofisk platforms to
Lowestoft), CeltixConnect-2 and North Sea Connect, C-Lion1's real
Rostock landing, GlobalConnect's Digital E4, Eastern Light, the Elisa
cables, Latvia-Sweden and BCS. Baltic cables carry an anchor flag that
makes them cut more often (it used to be a list of two ids).

Indian Ocean and Asia-Pacific: Muscat, Malé and Fukuoka as new landings.
SJC2, ADC, ASE, APCN-2, EAC-C2C, FLAG and its North Asia loop, SEA-ME-WE 5,
Unity, TGN-IA, TPE, Hong Kong-Guam, MIST, IAX, TIC, TW1, MCT and KJCN as
puns; the missing real landings on SEA-ME-WE 4 and 6, AAE-1, PEACE, APG,
SJC, PLCN, NCP, FASTER, JUPITER, Indigo, Bifrost, 2Africa Pearls and the
Oman Australia cable. Existing pairs are untouched so saved links keep
their cable. Routes come from the game's own sea router.

Tests that relied on Colombo having one cable and Oslo having none now use
St Helena and Zurich.
2026-10-27 22:29:32 +01:00
Frederic Jung
b107d3fa03
Name São Paulo's exchange IX.brrr São Paulo like the rest of Brazil (#166) 2026-10-27 20:38:42 +01:00
Frederic Jung
3d469d9a93
City density rule: retire 15 crowded Brazilian cities from new games
A small city (P < 60) may not sit within 300 km of a bigger city in the
same country unless it is a cable landing or a capital (Canberra gets a
capital flag); a test enforces it everywhere. The 15 Brazilian cities
that broke it get off:true: still in the data so saves keep their POPs,
routing and links there, but new games do not draw them, offer them to
customers, list them in network presence, or let you build a POP there.
Brazil goes from 40 to 25 cities (Europe has 44). Order and Progress now
needs 15 IX.brrr ports.
2026-10-27 10:09:12 +01:00
Frederic Jung
fbd0f133ba
Don't repeat the city after an exchange that is named after it (#134)
IX.brrr Campinas, Equinox Ashburn IX and friends already say where they
are, so peering tips, IX LAG labels, the max-prefix leak incident, the
de-peering toast and the route server hint drop "in {city}" for them.
2026-10-27 07:30:02 +00:00
Frederic Jung
68b3d0b839
Far-away transit backhaul is slow, and slow is bad service
Each transit flow's backhaul round trip over your own links (2× the path
latency to the exit) now affects service: free up to 20 ms (~1,500 km),
up to 20% worse at 50 ms, and half the service value past 50 ms. sfOf()
multiplies delivery by it, so revenue, broadband growth and business
customers all feel it. Peering, PNIs and caches are exempt.

City panel chip and Transit-tab warning name the far exit and the round
trip; the NOC lists slow cities. Two tests updated: Moscow on Frankfurt
transit is still fully delivered but now slow, and the Red Sea test pins
Asian demand that would otherwise churn away on Marseille transit.
2026-10-26 23:29:49 +01:00
Frederic Jung
4643adb2ea
Merge main
# Conflicts:
#	package.json
#	site/i18n/fr.js
#	site/i18n/it.js
#	site/i18n/pt.js
2026-10-26 22:42:18 +01:00
Frederic Jung
8db8cb1f7a
Peering inbox, PNI lead times and minimum sizes, Microsnoft US East
Peering inbox (Networks tab): requests from small and made-up networks
arrive with every IX port, max-prefix alerts take bilateral sessions
down for a few weeks unless answered (raise the limit for growth, keep
it down for a leak; raising it on a full table is a route leak).
Unanswered mail costs reputation, which makes selective networks up to
10% pickier. The Large Peering Model agent costs $20M a year and gets
about a third of its decisions wrong, with a log to prove it.

PNIs are ordered, not instant: 2 to 6 weeks for small networks, 6 to 12
months for big content networks, Tier 1s and big eyeballs, for new PNIs
and augments alike (halved during a conference). Content networks and
Tier 1s start at 100G; Doitsche Telekomm sells 1G. Microsnoft refuses
PNIs and IX sessions in Ashburn, New York, Boston, Atlanta and Miami.
Only delivered PNIs carry traffic, bill, or count for goals and Tier 1.
2026-10-26 22:37:51 +01:00
Frederic Jung
56f2d446ea
Sea routing: Suez and Panama crossings, great circles, fastest design back on par
After #133 the coastline router treated Egypt and Panama as solid land, so
Marseille–Singapore sailed round Africa (21,440 km instead of 12,175) and
Miami–Lima round Cape Horn (17,700 km for a 4,220 km hop). Real systems
cross both by land: Port Said to Suez beside the canal, and Panama
(PAN AM). These are now overland edges in the sea graph, priced as the
distance they cover. The Red Sea Crisis shuts Suez, and routes are cached
per set of open passages, also in the survey worker.

Long open-water legs follow the great circle where it stays at sea,
instead of a straight line on the map. The low-latency design may land
further off and backhaul overland, and may follow the corridor of the
fastest in-service cable on the pair when that is shorter, so it matches
Hibernia again (London–New York 25.3 ms, Halifax–London 20.9 ms) and
beats cables that take detours (Lagos–Bude 32.2 against 37.6 ms).

Tests: main's expectations restored where #133 had loosened them
(Marseille–Singapore needs no upgrades, New York–Sydney needs terminals,
express equals the fastest cable); the marine check knows the passages;
new checks for Suez, Panama, the crisis and the corridor rule.
2026-10-26 22:13:16 +01:00
Frederic Jung
656e904e05
Merge #133: route new subsea cables around coastlines 2026-10-26 21:52:59 +01:00
Frederic Jung
673b5159b0
Zoom in further, and pick short links between close cities (#126)
Porto Alegre and Florianopolis are 65 px apart at the old maximum zoom,
and each city grabbed taps within 38 px, so the link between them could
not be selected at all. The maximum zoom goes from 6x to 16x (city icons
stop growing at 1.35x, so dense regions spread out), and a city now wins
a tap outright only on its icon; in the rest of its tap circle a link
right under the pointer wins. The hover cursor follows the same rule.
Dragging from a POP still draws a new link.
2026-10-26 20:42:01 +01:00
LookedPath
8ac420c4c8 Route new subsea cables around coastlines 2026-10-26 19:33:08 +00:00
Frederic Jung
18f3936058
Sell spare dark-fiber capacity from the fiber itself (#51)
Wholesale alien waves and spare-pair leases already existed, but only as
random offers, and the fiber only said how many channels were sold. Each
dark fiber in service now has a 'Selling spare capacity' section: free
channels, who rents what and for how much, a pending offer with Accept,
and 'List it with a capacity broker', which creates an offer for that
fiber at once at the usual price minus a 10% broker cut (alien waves on
free channels first, then a spare pair in your own trench). One listing
per fiber at a time. Random offers use the same helpers and draw the same
random numbers in the same order, so seeded games are unchanged.
2026-10-26 17:47:51 +01:00
Frederic Jung
42b3e95386
Red Sea Crisis needs a month of traffic into Asia; Luxembourg gets Poste Restante (#113, #84)
- #113: the goal was a Marseille-Singapore path and 300 Gbps served
  anywhere, which broadband with local transit reached on day 0. It is now
  the path plus 80 Gbps on your links between Asia and the rest of your
  network for 30 days in a row (S.stats.asiaRun). A 100G route around Africa
  gets there in about two months and costs about 590k a month against 2.5M
  of starting cash, so it is a real challenge. The scenario card shows
  today's traffic and the streak.
- #84: Poste Restante, Luxembourg's eyeball network, at LU-SICK in
  Bettembourg (selective, buys transit from Tier 1s, so Tier 1 reach holds).
  Citrus Belgium's blurb now says it is Tangerine's Belgian daughter.
- The wave seller and wholesale customer 'GTT (Got Tangled Twice)' used a
  real company name; it is now 'G&T (Gin and Transit)'.
- The scenario start toast puts a full stop after the goal.
2026-10-26 17:31:22 +01:00
Frederic Jung
9d6ad94035
Road to Tier 1: what is missing, and where to meet each network (#111, #121, #12)
Goals gets a Tier 1 card once it is the current goal (or the title was
lost): transit ports left, Tier 1 PNIs with the missing ones named, the
club requirements they wait for, and reach without transit with the
networks you would lose. The Networks tab gains an 'out of reach without
transit' filter and a single-network view with every PNI city and
exchange, your POPs first, then nearest. The NOC transit to-do list names
the nearest city and links to the network.

Routing counts reach without transit in the same pass. Places and
distances are cached until the POP set changes, and exchange membership
once per routing pass, so the Networks tab costs what it did.
2026-10-26 16:24:08 +01:00
Frederic Jung
6ddbc6ec7d
Subsea cable designs, fixed against today's main (#65, #78)
- Upgrades take effect: the optic speed cache from #89 is now kept per cable
  state (subsea, terminals in service, engineering in service), so a cable
  no longer stays at 400G after both upgrades are commissioned.
- Refunds: a cable remembers what was paid for it, design and upgrades
  included. Calling off a 7x low-latency cable returned 10% of its price.
  'Unusable' now means no optic lights it even with both upgrades.
- Length limit: #88 counts the shortest design and both upgrades. The order
  screen says which upgrade a route needs and will not order without it;
  the order action checks the same. New York to Sydney needs terminals.
  No leased-wave payback hint where no leased wave reaches.
- Choices start fresh when you open the own-cable view and after ordering.
- The 'consider terminals or engineering' hint only on cables you own.
- Low-latency builds take 1.7x as long (London-New York ~2.9 years), not
  3.5x; optimized 1.3x. Each design is one tappable card.
- The low-latency factor is worked out once per route instead of on every
  latency lookup. 'Number.isFinite' alone, no repeated guard in seaQuote,
  the express factor folded into seaLatencyFactor, '+{n} days' as one
  translatable string.
- Portuguese and French for the new strings; one CHANGELOG bullet (#65).

Big network vs main: no slowdowns, identical routing.
2026-10-26 16:07:08 +01:00
Frederic Jung
dbc212dccb
Merge #116: Add Düsseldorf with the Altbier-IX (#108)
# Conflicts:
#	CHANGELOG.md
2026-10-26 15:08:22 +01:00
Frederic Jung
a1f895d754
PNI upgrade buttons show the monthly fee too (#110)
After #115: upgrading an existing PNI, in the Peering tab and in the NOC's
connection list, also showed only the one-off cost. Both now read
'Upgrade 100G $2.3k + $350/mo', like transit. The two old labels without a
monthly part are no longer used and leave it.js and pt.js.
2026-10-26 15:01:07 +01:00
clayberF
13e5a5d94b Add Düsseldorf with the Altbier-IX (#108)
Networks follow PeeringDB's 14 Düsseldorf facilities: NTT, Tell-Ya,
Cogentle, Drizzle, Voda-Phony, Doitsche Telekomm and the Crowdflare,
Amazin', Microsnoft and BiteDance clouds (NetChill and Akamaybe are
everywhere already). No nudge needed: 27+ map units from Frankfurt,
Amsterdam and Brussels.

The #16 shark test compared .land, which ignores Cairo's land2, so a
valid overland Mumbai-Cairo ask counted as crossing an ocean once the
extra city shifted the seeded draws. It now uses isSub like the game.
2026-10-26 10:28:59 -03:00
clayberF
497f970eac PNI buttons show the monthly port fee next to the setup cost (#110)
The buy buttons only showed the one-off setup (1500 + setup/2), so a
$1.8k cross-connect read like a monthly bill, while the real monthly
fee (PORT[i].pni) was shown nowhere. Reuse the existing translated
'{port} <small>{cost} + {mo}/mo</small>' label, like transit and IX.
2026-10-26 10:16:43 -03:00
Frederic Jung
c88bad3eef
Let the 3.2T transponder fall back to 1.2T like the 1.6T one (#107)
Its fallback ladder skipped 1.2T, so between 4,000 and 5,500 km on land
(6,000-8,250 km subsea) it carried 800G while the cheaper 1.6T optic
carried 1.2T. A test now checks that a bigger optic on the same line
system never carries less than a smaller one at any distance.
2026-10-26 10:28:28 +01:00
Frederic Jung
92b24fd2ad
Label mixed-size parallel waves per size instead of N × total (#56)
800G + 400G on one route was drawn as "2 × 1.2T", which reads like two
1.2T waves. Mixed groups now list each size, largest first, e.g.
"2×800G + 400G"; equal sizes keep "4×800G".
2026-10-26 09:23:57 +01:00
Frederic Jung
3cd30aa473
Fix five bugs: unlightable cables, own-IX sites, idle router swaps, loan badge, cable-less cities
- #88: own subsea cables longer than the best subsea optic reach are refused
  with a reason; cancelling one mid-build refunds 75% of the unlaid part, and
  an unusable one from an old save is refunded in full.
- #36: your own IX picks building A, B or both (second switch, +50% fabric
  fee) instead of showing site and LAG buttons that did nothing.
- #105: no maintenance window or incident when swapping the only router in a
  POP nothing depends on yet.
- #104: declining a loan redraws the top bar and saves.
- #50: a city with no cable landing names the nearest landing station.
2026-10-26 09:12:01 +01:00
Frederic Jung
388b12d901
Gentler bends for links between nearby cities
The curve that dodges other cities wanted 24 map units of clearance and
picked the most distant of up to 3.8x curves when nothing cleared, so
short links in dense regions looped wide. Clearance now scales with link
length, offsets are capped at about a third of it, and a modest curve
wins over a giant one when nothing clears.
2026-10-25 21:56:21 +01:00
Frederic Jung
7e3ea0cefe
Router trade-ins, one swap a day, and speed-based requirements (#82)
Swaps and removals sell the old chassis for 30% (optics get 40%, #45),
and buttons show the net price. A POP accepts one model swap per game
day so a double click cannot chain two upgrades. Optic and wave
requirements name the port speed, since side-grades qualify too.
2026-10-25 21:49:51 +01:00
Frederic Jung
1418994233
Benelux: Brussels, Oostkamp and Bettembourg (#79)
Belgian red tape (POPs +30k, transit 1.5x), the Flanders duopoly
(eyeball growth at 35% unless an ad campaign runs), five networks reached
through their upstream Tier 1, the Clementine cable London-Oostkamp with
trawler cuts, and a wood-pellet cooling failure in Bettembourg.
2026-10-25 20:44:50 +01:00
Frederic Jung
05bb2b680a
NOC: incidents first, paid one-click fixes at the top (#63) 2026-10-25 20:34:00 +01:00
Frederic Jung
19e89456b2
Split embedded caches across both metro sites (#69)
Cache boxes get a site, default A (old saves too). New boxes balance
across the two buildings, a control moves boxes between them, a site
outage only takes out its own boxes, and dropping the second site moves
everything back to A.
2026-10-25 20:30:52 +01:00
Frederic Jung
1dbb0dea81
Show why Tier 1 is lost, and stop rounding reach up to 100% (#73)
Tier 1 needs reach above 99.9%, but the HUD rounded 99.5-99.9% to 100%,
and the reason only appeared once in a toast. Reach now shows one decimal
below 100%, t1Why names the unreachable networks, and the level card in
the Goals tab says why you are not Tier 1 while it lasts.
2026-10-25 20:07:37 +01:00
Frederic Jung
354100777e
Let new waves join any existing overland route (#77)
Same trench always joined the first link's trench and Diverse always dug
a new one, so a second route could never get a second wave. With two or
more routes the wave window lists each one plus a new diverse route;
joining keeps that route's price.
2026-10-25 20:03:44 +01:00
LookedPath
1d2819e18e Dismiss the mobile NOC sheet when opening link details 2026-10-25 18:16:01 +00:00
Frederic Jung
7c88f74387
Merge #74: skip route-diversity requests the map cannot provide 2026-10-25 19:02:00 +01:00
Frederic Jung
172c593acf
Leased lines: only count savings your glass can carry, and price the optics
Review follow-up to #72. Moving leases onto your own fiber or a leased
IRU now needs free channels for their capacity and costs the optics both
routers take; a full fiber says so instead of showing savings. Cancel
from the Connections list passes an explicit confirmed flag instead of
setting the POP panel's confirm state.
2026-10-25 18:59:19 +01:00
Silas Rech
8238606483
Add leased-line savings and connection management to the NOC dashboard
A new "Leased lines" tab groups every leased wave, fabric circuit and
dark fiber IRU between your POPs by route and prices it against leasing
dark fiber, digging your own fiber or laying your own subsea cable,
including the line system, amplifiers, regen sites and optics for
today's capacity. It shows the savings and payback, explains why a
route can't be replaced, and plans the build in one tap.

The Connections tab can now upgrade, grow and cancel every connection:
the next port size and another LAG member for transit, PNIs and IX
ports, another cache box, a bigger fabric port, and a cancel button
with the same confirm step as the POP panel. Your own exchange has
none. The dashboard refreshes after any action while it is open.
2026-10-25 17:40:00 +00:00
LookedPath
0b14d44665 Skip impossible route diversity requirements 2026-10-25 17:26:48 +00:00
Frederic Jung
ef3dc0e8f8
Merge #59: Go there opens the first city still missing a POP 2026-10-25 18:26:17 +01:00
Frederic Jung
c900f2878d
Merge #54: local PNIs count as local breakout while Tier 1 (#20) 2026-10-25 18:23:38 +01:00
Frederic Jung
cfb5fb5f8e
Draw subsea cables when zoomed in (#49), release 1.26.1
The world layer only includes cables below zoom 1.7, but drawCables
skipped its own lines whenever any cached layer existed, so zoomed in
nobody drew them. The layer now records whether it holds the cables.
2026-10-25 17:34:48 +01:00
Frederic Jung
cd5d851f6c
One set of subsea optics rules for owned and leased cables (#66, #67, #68)
Subsea glass is engineered for its route, so optics reach 1.5x further on
it; the 1.6T transponder gets a 1.2T long-haul mode. Leased subsea waves
are capped by the fastest carrier any optic can run over the cable's
length (6.4T = 4x1.6T carriers), existing waves are grandfathered. Own
subsea cables can be laid between landing stations on the same landmass
when cables already run there. Also translate the long-haul note.
2026-10-25 17:01:33 +01:00
Frederic Jung
27c1d73b56
Stop buttons behind a modal firing from the keyboard
A declined PNI returned without redrawing, so its stale button stayed
focused. With a DE-KICKS quote open (game paused, nothing redraws),
Enter or Space kept pressing it, and each press toasted another decline.
Redraw after a decline, move focus into a modal when it opens, and
ignore activations of anything outside an open modal.
2026-10-25 16:49:39 +01:00
Frederic Jung
99e73cb897
Space parallel links by drawn line, not by link count (#64)
Every link not following a commercial cable curved out by its index among
all links on the city pair, though waves sharing a trench or cable draw as
one line. With a busy trench, leased or own fiber swung out in loops several
times the route length on about half of all routes. Index by drawn line and
scale the spacing with route length.
2026-10-25 16:07:03 +01:00
Frederic Jung
b96d5681e2
Draw your own subsea cable beside its route (#64)
It was drawn as a curve offset by how many links shared the city pair, so
with eight waves on Dublin-London it swung far out to sea. It now follows
the commercial cable on the route, eased sideways, or a gentle curve when
there is none.
2026-10-25 16:00:14 +01:00
Florian Krieger
e3aebd3efa Navigate deal offers to the first missing POP 2026-10-25 15:04:54 +01:00
Florian Krieger
5f432aefc9 Accept local PNIs for Tier 1 customer breakout 2026-10-25 14:37:12 +01:00
Frederic Jung
b929ccdd75
Light more fiber pairs in your own trench
Fixes #35
2026-10-25 14:35:35 +01:00
Frederic Jung
8e921693c5
Steadier taps, lighter map drawing, Sinai land route, live Tier 1, courtesy route, optics spares
Fixes #43, fixes #44, fixes #45, fixes #46, fixes #47
2026-10-25 14:08:55 +01:00
Frederic Jung
bfd895cc20
Show scenario and level progress, add tabs to the NOC dashboard
Fixes #34
2026-10-25 12:34:28 +01:00
Frederic Jung
31372c0205
Draw date-line links on both edges of the share card
Fixes #42
2026-10-25 12:26:06 +01:00
Frederic Jung
f2379bf72c
Settings screen, pause on furious customers, customer happiness overview (1.20.0)
Fixes #13, fixes #14, fixes #15
2026-10-25 10:29:49 +01:00
Frederic Jung
cf3d333b81
Add a connections overview and show where each network is connected
Fixes #31, fixes #33, fixes #38
2026-10-25 10:03:17 +01:00
Frederic Jung
bc9d2baee1
Price overland intercontinental waves above subsea, drop the cache box cap
Fixes #40, fixes #39
2026-10-25 07:49:13 +01:00