Commit graph

17 commits

Author SHA1 Message Date
Frederic Jung
6b5fe3f14c
Add a petabit-per-second badge (1.18.2)
A new legendary badge for serving 1 Pbps — a thousand terabits — the tier
above Hundred Terabits. Italian and a test included.
2026-10-25 07:36:49 +00:00
Frederic Jung
c445fbd0ba
Add a DDoS-defence goal and badges (1.18.1)
A goal to build your first scrubbing center, and badges for weathering an
attack, holding a multi-terabit flood, running a clean-pipe or a sacrificial
PNI, blackholing your own city, and landing a HackBack that works. New stats
track the hold/monster/hack-win counts; Italian and a test included.
2026-10-25 07:33:49 +00:00
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
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
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
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