Commit graph

417 commits

Author SHA1 Message Date
Frederic Jung
a2ab478386
Scrubbing tiers, clean-pipe, sacrificial PNI, IX blackhole, SLA (1.18.0)
Rounds out the DDoS toolbox. Scrubbing centers come in 100G/1T/10T tiers and
clean only up to their capacity; always-on or cheaper on-demand (which lags a
couple of days). A transit clean-pipe add-on scrubs a flood upstream before it
reaches you. A Chinese PNI can be marked sacrificial: a flood over it dies on
the small port instead of the core, at the cost of half its legit capacity. A
new IX-blackhole mitigation drops about half the junk while keeping the victim
up. Selling DDoS protection now carries an SLA penalty when a protected
customer still goes down. Italian and tests included.
2026-10-25 07:03:03 +00: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
Frederic Jung
5036f1a5a8
Tie Flowspec filtering to the router's TCAM (1.17.1)
Flowspec was a flat network-wide licence. In reality the drop rules live in
hardware TCAM, and the budget differs by platform, so flowspec is now a
router-model capability: none on the used Rusty, a little on merchant-silicon
and whitebox models, full on the big chassis. The flood is filtered only where
the attacked POP's router can do it, and a bigger TCAM knocks it down further.
The licence is gone; the NOC shows how many POPs are capable and the attack
panel names the chassis doing the filtering.
2026-10-25 06:39:36 +00:00
Frederic Jung
c3b99df788
Shape DDoS attacks and add a mitigation toolbox (1.17.0)
DDoS was one flat random event. Now each attack has a vector (DNS, NTP,
CLDAP, SYN, HTTP), a size from a few Gbps to a multi-terabit monster, a
target POP, a duration and an entry point among that city's uplinks.

The NOC grows a live attack panel and a toolbox: RTBH (free, instant, but
the victim goes dark too), a one-time Flowspec licence that drops known UDP
floods at the edge but cannot touch an HTTP flood, the existing scrubbing
center, and HackBack 3000, which sometimes ends the attack and often
flattens an innocent for a fine. New Vigilante and Collateral Damage badges,
Italian translations, and tests for the attack, each tool and old saves.
2026-10-25 06:18:51 +00:00
Frederic Jung
06576357c9
Add customers that connect over interconnection fabrics (1.16.0)
Fabric customers buy transit, or a circuit to one of your POPs, over
Megapork, PocketFabric or Consolation Connect. They come in through your
NNI port in their city and count against its capacity.
2026-10-25 06:29:33 +01:00
Frederic Jung
1d6ec48bf3
Zoom levels of detail, grouped parallel waves, POP decommissioning (1.15.0)
Zoomed out, cities become dots and POPs small router pills with thinner
links and fewer labels. Up close a POP shows the router instead of the
skyline, with a router B for a second site. Parallel waves on one cable
draw as one line with a combined label. POPs can be decommissioned one at
a time or in bulk, with early-termination penalties for affected
customers. Dark fiber panels can add parallel links. NLNOG Day joins the
conferences.

Closes #37
Closes #19
Closes #32
2026-10-25 06:22:20 +01:00
Frederic Jung
7e20a1a2f0
Add Manchester, Edinburgh, Bude and Stavanger with North Sea cables (1.14.0)
New UK and Norway POPs with local eyeball networks, and nine cables:
NO-UK-Way, Celtic Norsemen, Havhingsten Hoofbeat, Shefa Sheep Line,
Oil Rig Wi-Fi, Pas de Câble, Apollo 13, Yellow Brick Road and
Glo-in-the-Dark.
2026-10-24 23:19:46 +02:00
Frederic Jung
8260ce4dde
Keep the update notice small on phones (1.13.2)
The phone layout moved the notice to the bottom but kept its top offset,
so it stretched over the whole screen.
2026-10-24 23:10:20 +02:00
Frederic Jung
19742ec8fb
Redraw the app icons for home screens
The apple-touch and maskable icons now fill the whole square with the sky
blue and keep the tube inside the safe zone, so iOS rounding and Android's
round and squircle masks no longer show a frame inside a frame or clip the
pink end of the tube.
2026-10-24 23:01:04 +02:00
Frederic Jung
5786f76ed9
Rework the phone layout and make the game installable
Phones get a one-row status strip, a bottom tab bar (play, speed, goals,
deals, NOC, networks) and draggable bottom sheets; in landscape the sheets
slide in from the side. Toasts can be tapped away, dialogs become bottom
sheets and the title screen keeps its start button in reach.

Adds a service worker for offline play and an install button (the
browser prompt on Android, instructions on iOS).
2026-10-24 22:52:55 +02:00
Frederic Jung
cc28dfeb74
Add Korea's sender-pays market, Sparkly Seabone as a Tier 1, and release 1.12.0
Seoul transit costs four times the usual price and the three Korean
incumbents only peer over paid PNIs billed per gigabit sent. Glitch can
leave Korea and Faceplant can reroute it via Hong Kong. Adds the Gangnam
Style Peering scenario and the Sender Pays badge.

Sparkly Seabone becomes a Tier 1 across the Mediterranean, Europe and the
Americas; older saves keep the five Tier 1s they were playing for.

A wave supplier's optical control plane can melt down and take every
leased wave in a region dark at once.

Closes #23
2026-10-24 22:39:36 +02:00
Frederic Jung
5e0ee53617
Add LACP trouble, partial packet loss and PMTUD black holes
LAG members can flap out, hash onto one member or take the bundle down
with an eager min-links. Links can lose a few percent of packets, which
costs far more goodput than it looks, unless deep-buffer routers absorb
the microbursts. Filtered ICMP or a missing MSS clamp black-holes part of
the traffic to one network.
2026-10-24 22:27:29 +02:00
Frederic Jung
9315b37b82
Keep the top bar on one row in every language
Longer Italian labels wrapped the HUD over the side panels on laptop
widths. fitHud() now hides the less important readouts until the bar fits,
whatever the language. Also shortens two Italian HUD labels and translates
the How the Internet Works links.
2026-10-24 22:21:17 +02:00
Frederic Jung
f1ea017b39
Merge pull request #26 from daniloctdev/feat/i18n-italian
Add Italian translation and a language switch.
2026-10-24 22:18:28 +02:00
Frederic Jung
3afdd116b7
Point players to How the Internet Works
The title screen, the help page and the victory screen now link to Thomas
Kjær Aabo's interactive guide to how the internet really works, and so do
the README and llms.txt. Also removes debug screenshots that had slipped
into the deployed site folder.
2026-10-24 22:12:38 +02:00
Danilo Carbonaro
febded70d0 Translate the strings that changed on main
The "-ish" renames, the rival-exchange messages and the free community
exchange ports changed English text that is a dictionary key, so it.js
follows the new wording. The Catnip-IX and JINXED-IX blurbs, the Medusa
Stare cable, the tick-error toast, the "Another one" name button, the
scenic-routing split note and the regen-site messages are new and go
through tr() too.
2026-10-24 21:52:27 +02:00
Danilo Carbonaro
42acec3f07 Let the title-screen language buttons work before a game exists
The click dispatcher only lets a short list of actions through while there
is no game yet, so picking a language on a fresh title screen did nothing.
The test now clicks the button instead of calling the action.
2026-10-24 21:52:27 +02:00
Danilo Carbonaro
42711456e2 Tidy the i18n layer after review
- Badges that react to sharks, anchors, crocodiles and llamas read the
  English text of the incident again, so they unlock in every language.
- Scenario names are looked up when shown, so they follow a language switch.
- Fall back to English (and lang="en") when the dictionary did not load,
  and version the dictionary URL so a release never pairs with a stale one.
- Share the segmented-button helper between settings and the title screen,
  merge keys that only differed in a placeholder name, and slim the check
  script.
- Tests: guard the hooks the tour patches into fireFailure/fireEvent, and
  cover the dictionary fallback and the scenario name.
2026-10-24 21:52:27 +02:00
Danilo Carbonaro
04eb32e0a5 Add Italian translation and a language switch
English stays the source text and the default. Player-facing strings go
through tr()/trn(), which look the English up in a per-language dictionary
(site/i18n/<lang>.js) and fall back to it unchanged. The dictionary is only
loaded when the game runs in that language. The language follows the
browser on the first visit and can be switched under Settings or on the
title screen; the choice is remembered.

- site/i18n/it.js: complete Italian translation (~1900 entries)
- scripts/i18n-check.js / npm run i18n:check: lists missing or stale entries
  and translations that drop a {placeholder} or HTML tag
- tests/i18n.test.js: language selection, fallback, dictionary integrity,
  and a tour of every screen, failure and event in English and Italian
2026-10-24 21:52:27 +02:00
Frederic Jung
71dbc6e37b
Light up very long dark fiber with long-haul modes and regen sites
Optics past their full-rate reach now drop to a slower, longer-reaching
modulation instead of refusing to fit, so fibers over 4,000 km are usable.
Regeneration sites split a route into shorter optical spans for full speed,
at a cost per site and per channel. The order screen warns about routes
longer than any optic's full-rate reach.

Closes #17
Closes #30
2026-10-24 21:46:48 +02:00
Frederic Jung
7457acef1e
Stop scenic routing from flapping between paths
Scenic routing measured how busy a link was including the customer's own
traffic, so it fled its own load every day. Judge links without it, split
over two paths that are about as quiet, and keep the previous choice
unless a new one is clearly better.

Closes #28
2026-10-24 21:43:05 +02:00
Frederic Jung
ceaf4dbb93
Punch up the random network names
Swap the real PTT Telecom for Post, Telegraph & Tubes, make the carrier
pigeon an RFC 1149 one, drop the names without a twist and add a batch of
networking puns. Adds a test for the name picker.
2026-10-24 21:35:29 +02:00
Frederic Jung
3009ad8385
Merge pull request #27 from NickBouwhuis
Add random network names and an "Another one" button.
2026-10-24 21:32:38 +02:00
Frederic Jung
364fe7c242
Replace the "-ish" names with real names or proper puns
Conferences and the RIPE NCC use their real names. Data centers are named
after their streets and districts, or get a pun when they are a company.
Cables, carriers, routers and hyperscaler campuses get puns of their own.
2026-10-24 21:23:34 +02:00
Frederic Jung
ecdc0b5cc3
Polish the community exchanges and wire up Barcelona
Bring back the best jokes in the KleyWrecks, FRIES-IX and IX Strayla
blurbs, keep Bento-IX as Tokyo's cheaper challenger, and give Barcelona
the Medusa-ish cable to Lisbon and Marseille plus CDN coverage.
2026-10-24 21:16:27 +02:00
Frederic Jung
4753429327
Merge pull request #18 from NickBouwhuis/add-fries-ix
Add Barcelona and Catnip-IX, as well as second community IXs.
2026-10-24 21:14:23 +02:00
Frederic Jung
25749472d3
Only ask for shark-free routes that can stay on land
The "afraid of sharks" requirement was offered for any two cities,
including ones on different continents. Requirements can now say who
they make sense for, and old saves drop the impossible ones.

Closes #16
2026-10-24 21:11:22 +02:00
Frederic Jung
988e0c5d15
Fix the max-prefix freeze at rival exchanges and keep the loop alive
The max-prefix incident looked up an exchange id as a city, the same
bug as #24. Both messages now name the exchange and its city.

frame() now schedules the next frame first and catches a failing day
tick or draw, so one bad lookup shows a warning instead of freezing the
game.
2026-10-24 21:02:08 +02:00
Nick Bouwhuis
a179836969 Add random network names and an Another one button 2026-10-24 18:23:04 +02:00
Danilo Carbonaro
ba1c1e1a35 Fix the game freezing when a peer drops you at a rival exchange
Peering sessions at a second or third exchange in a city are keyed like
"drz@mil~2". The de-peering toast looked the city up as CITY['mil~2'],
threw, and the exception stopped the animation loop for good: time and
the map froze until a reload.
2026-10-24 18:18:47 +02:00
Nick Bouwhuis
9e9ecca1ad Remove duplicate NYC exchange and retain NY-Yikes 2026-10-24 16:46:33 +02:00
Nick Bouwhuis
4c88e00434 Correct exchange pricing claims 2026-10-24 15:34:26 +02:00
Nick Bouwhuis
e0e1500b8e Merge upstream main and reconcile community exchanges 2026-10-24 15:15:22 +02:00
Frederic Jung
0e5abd5c6a
Make router ports finite and add more router models
Every port, wave and fibre channel now takes a router port, and new ports
are refused when a POP is full. POPs take up to six routers, and six new
models can be swapped in from the Infra tab, including the Arrrhipster
7280R-ish and 7800R-ish.
2026-10-24 06:40:08 +02:00
Frederic Jung
5e88e44a0a
Add Italy, Portugal, Greece and more US cities; rival IXes and a long tail of small peers
New POPs in Milan, Rome, Palermo, Lisbon, Athens, Atlanta, Denver, Phoenix,
Boston, Houston and Salt Lake City, with cables and local networks.

Big metros get challenger exchanges with overlapping but different members.
IX state is now keyed by exchange id instead of city. Sixty small networks
sit on random exchanges. EU ports are cheaper and see price wars, and
Voda-Phony moves to paid peering only.
2026-10-24 06:29:19 +02:00
Frederic Jung
cc6d328511
Freeze map animation while paused
Packet dots, waves and clouds run on a clock that only advances while
the game is playing.

Closes #11
2026-10-24 06:07:33 +02:00
Frederic Jung
23b72dcb92
Realistic router ports, North Sea cables and dark fiber, own IX fabric upgrades, regional wave markets, the Gulf, tablet layout
Closes #10
2026-10-23 20:39:48 +02:00
Frederic Jung
b9bfab51f7
Split ports across both metro sites; keep the top bar on one row
Closes #8
2026-10-23 18:47:41 +02:00
Frederic Jung
d99addad88
RouteScript: a safe rule language for the Auto-TE controller 2026-10-23 18:26:43 +02:00
Frederic Jung
46fe9e4eba
WIP: RouteScript rule language for the Auto-TE controller 2026-10-23 18:20:53 +02:00
Frederic Jung
f9d89ac815
NOC legend, sortable network table and transit insights
Closes #7
2026-10-23 18:02:06 +02:00
Frederic Jung
494d71793e
Fix map wrap, touch and keyboard input; harden build and release workflow; docs 2026-10-23 17:56:34 +02:00
Frederic Jung
f51c68a8ac
Fix simulation bugs found in review, faster routing, deterministic tests 2026-10-23 17:50:31 +02:00
Frederic Jung
8b64570b8e
Harden saves and imports, escape button arguments, validate actions, fix loan and repair exploits 2026-10-23 17:38:39 +02:00
Frederic Jung
ba6981bda8
Deeper zoom and half speed 2026-10-23 17:13:01 +02:00
Frederic Jung
86de7d79e9
Settings: animations on, off or auto, and sound 2026-10-23 16:26:44 +02:00
Frederic Jung
2cfdaa13e4
Conferences, guided tutorial, Kyiv; changelog 2026-10-23 16:00:48 +02:00
Frederic Jung
0ae6f881c1
Scenarios, weekly challenge, sandbox, traceroute and share card 2026-10-23 15:54:49 +02:00
Frederic Jung
9d73d6d449
16 more badges 2026-10-23 15:41:53 +02:00
Frederic Jung
bbc9f39c8c
Auto-TE: spill overflow onto alternate paths 2026-10-23 15:29:45 +02:00