A new auto-release workflow runs the tests, tags v<version>, publishes a
release with that version's changelog section and starts the deploy from
the tag. It skips versions that are already tagged and refuses older
versions or ones without notes.
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.
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.
- 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.
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
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#17Closes#30
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
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.
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.
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.
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
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.
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.
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.
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.
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.