Commit graph

260 commits

Author SHA1 Message Date
clayberF
9cde4c432c All forty IX.brrr locations and twelve more Latin American cities
Brazil gets every IX.br location (ix.br/localidades/atuais), each with a
cheap nonprofit IX.brrr. Overland fiber into the Amazon costs 2x. New
national networks (Oi Oi, TIM-TIM Mobile, Brisanada) and a scenario,
Order and Progress: ports on 20 IX.brrr exchanges including Manaus.

Latin America: Montevideo, Asuncion, Cordoba, La Paz, Quito, Medellin,
Caracas, Guatemala City, San Jose, Queretaro, Monterrey, Guadalajara,
with Moviestar, Liberty Latte America, Antelope and Tiger Mobile.
SAm-1 gains a Salvador landing and Tannat a Montevideo one (new pairs
only, so old saves keep their links).

Dense clusters are spread apart with display-only CITY_NUDGE entries;
Rio no longer needs its old nudge, which put it north of Vitoria.
2026-10-25 22:15:48 -03:00
Frederic Jung
47c7c19402 Rest the map while the dashboard covers a phone screen
On a phone the NOC dashboard, scrolled past its top edge, fills the whole
screen, but the map underneath was still drawn every frame: about 4 ms per
frame on a big network on a fast PC, several times that on a phone. While a
panel covers the map completely it is no longer drawn, and it comes back as
soon as any of it shows. At the top of the dashboard the strip of map above
the card keeps moving, and on desktop, where the map shows around the
dashboard, nothing changes. No payday floaters are made while the map is
hidden, so they cannot pile up out of sight.
2026-10-26 02:00:33 +01:00
clayberF
6d145faa25 Add Brasília, Belo Horizonte, Curitiba and Porto Alegre
Four more Brazilian cities, each with an IX.brrr exchange (nonprofit, cheap
ports) and provedor offers. Clarovision and Viva Vivo serve them, and
Capybara Connect stops in Porto Alegre. The Samba Peering achievement now
names its three exchanges instead of saying "all three".
2026-10-25 21:44:19 -03:00
Frederic Jung
e026836169 Rest the map while paused, and fade payday floaters after a pause
- Payday floaters were stamped with performance.now() but aged with the map's
  animation clock, which stops while paused. After a pause they never faded:
  they sat off-screen and were drawn every frame, about a hundred more per
  payday on a big network, so long sessions got slower and slower. They are
  stamped with the animation clock now.
- While paused or with animations off, the map is only redrawn when the camera,
  the selection, hover or drag, the network or a new day changes it, plus once
  a second and while the land picture catches up after a zoom. A paused frame
  drops from ~4 ms to ~0.05 ms.
- After a day ends, the open panels update on the next frame, so one frame does
  not carry both the day's simulation and the panels. With a day on every frame
  they still follow, one frame behind.
2026-10-26 01:29:17 +01:00
Frederic Jung
9b1ed2f776 Show long NOC dashboard lists 100 rows at a time
The Connections tab drew every connection at once: 1,486 rows with their
buttons came to 32,000 elements, and laying them out again after every day
took about half a second while the dashboard was open (far longer on a phone).
The Connections and Customers lists now show 100 rows and a "+100 more"
button. Filters, sorting and totals still cover every row, and changing a
filter or the sort starts the list short again.
2026-10-26 00:42:37 +01:00
Frederic Jung
566dfcdbee Merge branch 'main' into faster-big-networks 2026-10-26 00:03:12 +01:00
Frederic Jung
a887b65a2f Make big networks fast: routing, panels and map drawing
A network with a hundred POPs and a thousand peering ports froze the game for
most of a second every day and after every click, because routing checked all
~1,800 exits for each of ~14,000 flows. Now:

- compute(): exits are asked once per network which networks they reach, each
  flow scans only those, and the first ECMP group is found without sorting. The
  graph runs on city indices with a typed-array Dijkstra (same heap moves, same
  ties), routers and per-link traffic are kept in typed arrays, the diverse-path
  check reuses one live-link graph, and R.ef is put together when a link is read.
  Results are bit-identical to before.
- Panels and the NOC dashboard are patched in place (morph) instead of being
  rebuilt, so the browser no longer restyles 1,500 rows every tick. Buttons whose
  action changed are swapped out, keeping #44's tap protection.
- The Networks tab works out each IX port's sessions once instead of once per
  network.
- draw() reuses screen-point buffers, a per-frame pair index and cached label
  widths, strokes the dotted fiber line on the path it already has, and uses
  native roundRect: about a third fewer canvas calls per frame, same output.
2026-10-26 00:03:05 +01:00
clayberF
eb7f4a8f8c Add Portuguese (Brazil) translation
Adds site/i18n/pt.js with all 2429 strings, registers Português in the
language list (picked automatically for pt-* browsers), caches it in the
service worker, and runs the full screen tour in Portuguese in the tests.
2026-10-25 19:58:05 -03:00
LookedPath
d58ca2b14a Add subsea cable designs and transmission upgrades 2026-10-25 20:57:53 +00: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
6c2d5da5b8
Add Munich with the Brezn-IX 2026-10-25 21:11:55 +01:00
Frederic Jung
8c44bb6459
Put Stuttgart and Frankfurt back in place, add Hamburg
Display nudges had pushed Stuttgart 30 units east and Frankfurt west of
Zurich. Small nudges now keep Frankfurt, Stuttgart and Zurich apart in
their real order. Hamburg gets the Moin-IX and the usual carriers.
2026-10-25 21:08:56 +01:00
Frederic Jung
c21a603765
Release 1.28.0 2026-10-25 20:51:16 +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
daf922c5fe
Russian Goggle throttling shrinks demand instead of counting as unserved (#70)
The flow was carried in full and then halved on delivery, capping every
Russian city at about 93.5% served, under the 95% customers need. Halve
the Goggle share of demand at the source instead.
2026-10-25 20:27:15 +01:00
Frederic Jung
3a0de5d31a
Kansas City, Calgary, Vancouver and Ottawa, plus Tell Us and Bodgers (#76)
New cities with pun IXs and data centers; Ottawa has frequent power
cuts. Two Canadian eyeball networks, reachable over a PNI with the Tier 1
they buy transit from (new 'up' field), so Tier 1 players keep 100%
reach. Bell and the big carriers extend to the new cities. Cuts on
Canadian links can be beavers, with a badge.
2026-10-25 20:16:00 +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
Frederic Jung
860fa9a76b
Merge #75: opening a link from the NOC closes the sheet on phones and tablets 2026-10-25 19:37:05 +01:00
LookedPath
1d2819e18e Dismiss the mobile NOC sheet when opening link details 2026-10-25 18:16:01 +00:00
Frederic Jung
d4034bca06
Release 1.27.0 2026-10-25 19:10:32 +01: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
Frederic Jung
e845812600
Merge #72: leased-line savings and connection management in the NOC dashboard 2026-10-25 18:51:07 +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
930e62869d
DKNOG gets its own evening 2026-10-25 18:08:29 +01:00
Frederic Jung
3ba35a8399
Add DKNOG in Copenhagen to the conference calendar 2026-10-25 17:57:07 +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
c181065d9f
Release 1.26.0 2026-10-25 17:23:53 +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
055a975851
Customer levels 5 to 13
Levels now run to 13, driven by a requirements table (peak, POPs,
continents). Each unlocks something: seven router models up to 3.2T with
3.2T ports and 12.8T waves, C+L line systems, 3.2T transponders, eight
pairs per land trench, a 102.4T fabric, 100T scrubbing, six customer
types, and free PNIs from paid-peering networks. Four traffic eras raise
the eyeball ceiling so the higher levels are reachable on a 47 Tbps map.

Default router upgrades follow the badge-less main line per class; port
and wave tiers past 1.6T/6.4T only show once unlocked. Old saves keep
their level; land trenches clamp to four pairs below level 12.
2026-10-25 16:40:17 +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
Frederic Jung
faba573637
Stricter credit, revenue share on big loans, weird new lenders and conditions 2026-10-25 15:50:28 +01:00
Frederic Jung
5422116f36
Release only when Frederic asks 2026-10-25 15:40:15 +01:00
Frederic Jung
95cb4eeb7c
Release only when there is something worth shipping 2026-10-25 15:39:27 +01:00
Frederic Jung
683b7bad3c
Shorter in-app release notes with a link to GitHub, one release per hour at most 2026-10-25 15:38:49 +01:00
Frederic Jung
6b0f3d6eeb
Release 1.25.2 2026-10-25 15:25:28 +01:00
Frederic Jung
2041ca7908
Let Tier 1 networks lay their own subsea cables
Fixes #22
2026-10-25 15:25:28 +01:00
Florian Krieger
e3aebd3efa Navigate deal offers to the first missing POP 2026-10-25 15:04:54 +01:00
Frederic Jung
fd189afc0a
Add issue forms for bugs, features, balance and translations 2026-10-25 14:54:20 +01:00
Frederic Jung
07d12b931d
Release 1.25.1 2026-10-25 14:48:49 +01:00
Frederic Jung
856ecfbb37
Stop loan offers once you have half a billion in the bank
Fixes #52
2026-10-25 14:48:49 +01:00