Commit graph

394 commits

Author SHA1 Message Date
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
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
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
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
946da17c8b
Merge Puzzles, Tier 1 by customer cone and badge variants into v2 2026-10-28 18:14:56 +01:00
Frederic Jung
4717bc0f75
Standing orders in German, Spanish, French, Italian and Portuguese 2026-10-28 17:43:12 +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
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
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
Frederic Jung
96463577b9
Merge #181: Add bulk PNI ordering across networks and POPs (Logfro) 2026-10-28 15:21:01 +01:00
Frederic Jung
327749e0cf
Merge #177: Add editable optic counts for land and subsea fiber (LookedPath) 2026-10-28 15:17:42 +01:00
Frederic Jung
624f12bfd4
Merge #153: Overhaul the DDOS Attack system (FHRNet) 2026-10-28 15:15:36 +01:00
Frederic Jung
1b12a2c014
Merge #94: Calibrate city prices with PeeringDB and Hurricane Electric data (clayberF) 2026-10-28 15:04:40 +01:00
Frederic Jung
a6829b3d66 Merge #131: Custom routing metric for links (MurphysHub) 2026-10-28 14:58:12 +01:00
Frederic Jung
0fb3d3ab96
Merge #62: Add on-demand single-link redundancy checks (Flol0) 2026-10-28 14:58:12 +01:00
Frederic Jung
c011022203
Merge main: German; the Moscow premium note in German 2026-10-28 14:25:39 +01:00
Frederic Jung
f5e15e427f
China Telecomet's premium crossing in Moscow, at the Hong Kong price (#195) 2026-10-28 14:13:15 +01:00
Frederic Jung
7949cfd2c7
Merge main
# Conflicts:
#	CHANGELOG.md
2026-10-28 14:11:40 +01:00
Frederic Jung
7a8ad272d1
Merge pull request #193 from luckylucab0/add-german
Add German translation

# Conflicts:
#	CHANGELOG.md
2026-10-28 14:02:12 +01:00
Frederic Jung
7cfadaa6ae
Glowball Sakura Lager: only its real hubs, dearer far from home, no transit for Australians 2026-10-28 13:57:10 +01:00
Luca
1f28654069
German: smoother wording after a full review
A read-through of every German text against the English fixed a few
mistranslations (buying out a bank, customers being "let go", a reversed
subject in a peering note, a conference bonus that reads as delayed) and
evened out the rest: sessions are "up"/"down", "der Cross-Connect",
"transitfrei", "de-peert", "Paid Peering", "Faserbruch", "Stromnetz" for
the power grid, "Spitzenlast" for peak traffic, and shorter labels where
German ran long.
2026-10-28 12:06:24 +00:00
Luca
b98dd33c09
German: wording from playing it, eyeballs are Privatkunden
Start screen, How to play, goals and tutorial use the wording a native
speaker picked while playing: "Baue deinen eigenen ISP auf", two-finger
zoom, "Zieh von einer Stadt zur anderen" and "Preisschock". Eyeballs are
now always "Privatkunden" in German.

The "How the Internet Works" card title is now a label, so German can
show "Wie funktioniert das Internet?"; the other languages keep the
English name.
2026-10-28 12:00:01 +00:00
Luca
1a0a70e575
Add German translation
Series of Tubes now speaks German. site/i18n/de.js translates all 3,063
labels in informal "du". Networking terms that German engineers say in
English stay English (Peering, Transit, Dark Fiber, Wave, Port, POP, IX,
Route Server, LAG, PNI and so on); plain "fiber" is "Glasfaser" and
"fiber pair" is "Faserpaar". RouteScript syntax stays English, as in the
other languages.

German is registered in the language list and the offline cache, so a
German browser starts in German. Every per-language test now covers it,
and the German style notes are in the add-strings skill and in the
dictionary header.
2026-10-28 11:41:57 +00:00
Logfro
39063acce7
Merge branch 'main' into main 2026-10-28 12:06:40 +01:00
Charles Miller
0f1db884c2 Balance PoP caches and request missing caches per site 2026-10-28 10:51:54 +00:00
Charles Miller
2f5a924d6a Add bulk IX peering and PoP redundancy utilities 2026-10-28 09:51:37 +00:00
Christopher Hawker
cc7ebe1ad5 Add Glowball Sakura Lager, a Tier 2 carrier with downstreams on every continent
A transit, PNI and open-peering network with a PoP in every city the big
content networks reach (not China, Russia or Pitcairn, where no provider
may sell so that you must land your own cable). It is not a Tier 1: it
buys from Level Tree, Cogentle and Not That Telecom, and 24 smaller
networks, four on each continent, buy theirs from it, so one PNI with it
reaches about 5% of all traffic.

It is added to the Australian transit sellers by design (3x price, well
under Telstraya) and peers at the main Australian exchanges. Saves from
before it get the usual courtesy route to new networks.

The Australian-sellers test now lists it, and the Latin American and
African reachability test asks for at least one Tier 1 upstream instead
of only Tier 1 upstreams.
2026-10-28 20:24:28 +11:00
LookedPath
9a01b3d415 Merge main and resolve optics PR changelog conflict 2026-10-28 09:03:53 +00:00
Frederic Jung
51ba71567d
Home cities as a compact stack, the dropdown last; a shorter Sydney line 2026-10-28 09:25:47 +01:00
Frederic Jung
8b8bfadbaa
Start anywhere: pick any city with transit as your home 2026-10-28 08:30:17 +01:00
Frederic Jung
b4f8d9c7f5 Put a link on standby; the routing metric stays per city pair (#122)
A backup-only link next to a normal one still carried traffic, because
parallel links merge into one edge. The metric stays on the city pair
(S.pairMet), and any link can go on standby: it adds capacity that
fills only after the active links, so it idles as a backup, takes the
overflow when they are full and carries the traffic when they are down.
Build order no longer matters, and adding a link never idles the
others. Old saves keep each pair's lowest metric with every link
active, which is how they routed before. The panel says what a standby
link is doing, the redundancy list tags it, the map draws it dashed
while idle, and traceroute shows the active link.
2026-10-28 07:11:47 +01:00
Frederic Jung
daa1ad0b05
Bugs and ideas go to GitHub: a card in the menu and How to play; Signal is for chatting 2026-10-28 06:00:55 +01:00
logfro
abe92fe3b1 Add real-time sales automation and automatic paid repairs
Add independent toggles for auto-accept in Deals and auto-pay repairs in
NOC. Save both settings and default them off for older or malformed saves.

Check sales every five wall-clock seconds regardless of game speed, and
show a small countdown on Accept buttons in Deals, city offers and fiber
broker offers. Only sign when all requirements, locations, equipment and
service capacity are ready. Trial the added demand before accepting it,
protect healthy existing customers and account for booked future events.

Use the existing paid repair action for affordable active incidents,
including slow router reboots. Skip expired incidents, removed equipment,
DDoS attacks and repairs that were already rushed. Pause both automations
with the game, hidden pages and open dialogs.

Translate the controls into all five supported languages and cover timing,
countdowns, capacity, budgets, repair payments, persistence, mobile controls
and trial rollback with deterministic tests. Chromium checks verify about
five real seconds at both 0.5x and 8x game speed and exercise the supplied
large save without changing the save file.
2026-10-28 02:19:47 +01:00
logfro
4932b3f93a Add bulk PNI ordering across networks and POPs
Add two actions to the NOC Traffic tab:
- Order PNIs with one network at every shared POP.
- Order PNIs with all eligible networks at every shared POP, including
  long-tail peers.

Both actions offer a selectable port size and preview new connections,
upgrades, total setup costs, additional monthly charges and blocked sites.
Upgrade smaller PNIs while preserving larger connections, pending orders
and existing LAG members. Reserve router capacity across the batch and
account for pending speed and LAG augments to avoid overbooking ports.

Require the full setup budget before placing any orders. Reuse normal
peering policies, minimum port sizes and provisioning delays, then
recompute and save once for the entire batch. Keep large global previews
compact with collapsible network and blocked-connection lists.

Translate the new UI into all five supported languages and add tests for
single-network and global ordering, capacity, budgets, repeated clicks,
save migration, and mobile keyboard interaction.

Validation:
- Build and translation checks pass.
- 308 of 309 tests pass. The existing subsea reach test also fails on
  origin/main because the Windows locale uses a dot as the thousands
  separator where the assertion expects a comma.
- Chromium desktop and phone checks pass with the supplied save.
- Big-network benchmark against origin/main: dashboard tabs take
  16.8 -> 17.6 ms on desktop and 77.1 -> 80.7 ms on a simulated phone
  (median of 15 runs). Routing results are identical, with no slowdowns
  beyond the benchmark's noise threshold.
2026-10-28 01:44:17 +01:00
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
75f343f019
Caribbean, Indian Ocean, Pitcairn, Alaska and Russia's Far East; more US and Australian eyeballs (#125, #152, #124, #145, #155, #154)
Caribbean: San Juan, Santo Domingo, Kingston, Havana, Nassau, Port of Spain,
Bridgetown, Fort-de-France and Willemstad on their own islands, with
ARCOS, Americas-II, ECFS, Southern Caribbean Fiber, ALBA-1, CFX-1,
Fibralink, BICS, AMX-1 and EC Link as puns. Exchanges only where one runs
(PR-IX, JIXP, TTIX, AMS-IX Caribbean).

Indian Ocean: Réunion (REUNIX as Rougail SAUCIX), Mauritius, Madagascar
and the Seychelles on SAFE, LION, METISS, EASSy, SEAS and PEACE.

Pitcairn: no cable and no provider; cables may land there and the UK pays
a monthly grant while the islanders are served.

Alaska, Prince Rupert and Russia's Arctic and Pacific: towns with no road
in are their own landmass. Real cables only (Quintillion, AU, AKORN,
AU-Aleutians, Topaz, Connected Coast, Sakhalin-Kamchatka-Magadan,
Petropavlovsk-Anadyr, RJCN, HSCS). Polar Express never got past Amderma,
so its towns have a beach for your own cable instead.

Eyeballs: AT&Tease (a Tier 1 for new games only, t1v 3), Tee-Hee Mobile,
Coax, Pessimum, Final Frontear, GFibber, Sonic Boomer; Neptoon, Lawn-tel,
Pent-Up Net, Dive-Bomb Magpie, Internope; Musklink in the US. Coax merges
into Spectre-um on day 365, Final Frontear into Very-Zone on day 730.
Coastlines refined from Natural Earth around the new places.
2026-10-27 21:34:09 +01:00
LookedPath
66ae4be72d Add editable optic counts to fiber link panels 2026-10-27 20:30:20 +00:00
Frederic Jung
cbe11339a7
Tell the player when the game cannot save (#176) 2026-10-27 21:11:17 +01:00
Frederic Jung
0510df1816
Merge #174: Spanish translation (JMF-Alex)
Resolved CHANGELOG and README against main, translated the 26 labels added
since the PR branched, and added Spanish to the peering language loop.
2026-10-27 20:31:19 +01:00
Frederic Jung
6b04a530e8
Conference sponsorships and yearly capacity conferences with build-to-order carrier deals (#168) 2026-10-27 18:48:58 +01:00
Frederic Jung
239682720e
Allow up to 16 routers per POP, with a cage extension past six (#157) 2026-10-27 18:48:58 +01:00
JMF-Alex
288c78e9a0 feat: Spanish translation 2026-10-27 16:31:58 +01:00
Frederic Jung
e7ae3b18bf Merge origin/main into codex/ddos-scaling-and-mitigation 2026-10-27 13:21:51 +00:00
Filip Hruska
744b769000 Rework DDoS generation, mitigation accounting and NOC reporting
Scale normal attacks with network demand, level and gaming exposure, with
randomized sizes, durations, overlapping attacks and distributed ingress.
Set average sizes to three times the non-gaming baseline at one gaming
customer and eight times at fifty. Keep Flood Season escalating after its
challenge ends.

Add gaming-specific vectors, Memcached amplification and ACK floods.
Account for upstream scrubbing, Flowspec and shared scrubbing capacity in
sequence. Show precise mitigation totals and one destination-based
scrubbing detour in existing live attack cards.

Keep each source-to-scrubbing route distinct in link traffic breakdowns,
including the source label, Open button and map highlight.

Include deterministic tests, old-save migration and translations.
2026-10-27 13:00:57 +00:00