Commit graph

40 commits

Author SHA1 Message Date
Frederic Jung
9c26d03952
Conferences stop notifying once you are Tier 1 (#101)
After the Tier 1 goal, the 30-day reminders, the report (and its coin sound)
on the day and the sales engineer's booking notes are no longer shown or
logged. Registering, sponsoring, the glow, raffles and capacity deals work as
before, and the Deals tab still lists conferences.

Fixes #101
2026-11-11 18:37:18 +01:00
Frederic Jung
dd6e4f4f8a
Fix CodeQL code-scanning alerts
- Values pasted into eval'd or inline-script code go through lit() (scripts/lib/js-literal.js), which escapes <, >, /, U+2028 and U+2029 after JSON.stringify
- build test and i18n-check read script tags with a DOM parser or a plain search, not HTML regexes
- mcp.js parses the Authorization header without a backtracking regex
2026-11-05 21:24:26 +01:00
Frederic Jung
3e7bbdffad
DDoS rework: tests for the new model, Flood Season and its weekly at level 4, routing reference fix 2026-10-31 12:51:15 +01:00
Frederic Jung
70676d7bfb
Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers
Each router is classed by the highest backbone it runs and has a vendor. Upgrades
are paid one step at a time and any level paid for can run. Higher levels use
less router CPU, label switching makes pass-through traffic cheaper, Auto-TE and
RouteScript need RSVP-TE or above, and POPs whose routers can't run the backbone
stay outside it. Mixed vendors at the top of what their routers can do get
interop failures. Saves with Auto-TE keep the old rules; puzzles, Architect and
scenarios are unaffected.
2026-10-31 08:27:31 +01:00
Frederic Jung
271c562205
Tests: Mind the Gap, Order and Progress, Fibre to the Basement and Flood Season checks follow the tuned goals 2026-10-29 20:22:20 +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
fa4e30692e
Merge the ruleset and four doors into v2 2026-10-28 15:45:09 +01:00
Frederic Jung
624f12bfd4
Merge #153: Overhaul the DDOS Attack system (FHRNet) 2026-10-28 15:15:36 +01: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
JMF-Alex
288c78e9a0 feat: Spanish translation 2026-10-27 16:31:58 +01: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
Frederic Jung
682b6c99f4
RouteScript: AI button, help page and ready-made scripts
The editor gets a help page (how exits are picked, the workflow, every
rule with its real-router equivalent) and seven ready-made scripts
filled in from the live network: Shields Up, Customer Care, Peering
First, Penny Pincher, Prepend Diet, Maintenance Window and Keep Calm.

Slop it with AI dry-runs its favourite recipes against live traffic,
keeps the best, and signs it with a pun-named model and a confident
remark. The glossary mentions RouteScript too.
2026-10-26 21:44: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
Frederic Jung
c08a7b22cc
Only Spätzle-IX can be won with peering alone (#114)
New goal: 45% reach and 300 Gbps served, with reach shown on the
scenario card. Games already in progress pick up the change on load.
2026-10-26 15:35:43 +01:00
Eliot
fbfbf8deb3 Add French translation
Adds site/i18n/fr.js with all 2541 strings, registers Français in the
language list (picked automatically for fr-* browsers), caches it in the
service worker, and runs the full screen tour and the Signal-link check
in French in the tests.
2026-10-26 12:20:07 +01:00
Frederic Jung
97e3a70f87
Advertise the Signal group in the game and on GitHub
A chat card in the menu and How to play, a footer link on the title screen
(Italian and Portuguese included), plus README, CONTRIBUTING and a contact
link in the issue chooser.
2026-10-26 07:41:50 +01:00
Frederic Jung
1473fb0627
RouteScript optimizer: smarter tips after #96
Suggest protect customers only where IP customers would get unhappy
(under 95% served): it costs a second routing pass, about +65% on a big
network. Point at the exchange the network actually peers at, where you
have no port yet, instead of the city's main IX. And the draft admits it
has never been paged at 3 a.m.
2026-10-26 07:14:21 +01:00
clayberF
14ae22cee9 RouteScript: local-pref, AS-path prepending, protected customers and an optimizer
- prefer/avoid transit PROVIDER: per-upstream local-pref (ranks 2.9 and
  3.5, so never ahead of peering).
- prepend transit PROVIDER 1-3: moves 35/60/75% of that upstream's port
  to a last-resort share. Prepending is a hint, not an order.
- protect customers: business flows take every rank first, and IP
  business customers are judged on their own served share.
- Optimize: drafts a script from live traffic (spill, protect, cheapest
  and priciest upstream) plus comments for IX and PNI opportunities.
2026-10-25 23:15:24 -03: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
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
353e9a816e
Add the Flood Season scenario, keep overlapping DDoS attacks apart 2026-10-25 14:32:01 +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
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
933d57228a
Pitch installing the app to phone players before a new game 2026-10-25 10:08:26 +01:00
Frederic Jung
11118ed5e1
Keep the iPhone home-screen height fix applied, add a viewport readout (1.18.4) 2026-10-25 09:00:11 +01:00
Frederic Jung
a46c9f9694
Fill the screen as an iPhone home-screen app (1.18.3) 2026-10-25 08:47:50 +01: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
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
56e15d10dd
Make the test suite fully deterministic
Seed Math.random before the game script loads, keep the game's own
seeded-games wrapper in place, and seed the scenario test too. Random
events during dayTick could replace the deadline modal and fail CI.
2026-10-24 07:12:23 +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
f49c60155b
Tests: run the real draw code against a recording canvas 2026-10-23 17:58:17 +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