Kansas City, Calgary, Vancouver and Ottawa, plus Tell Us and Bodgers (#76)

New cities with pun IXs and data centers; Ottawa has frequent power
cuts. Two Canadian eyeball networks, reachable over a PNI with the Tier 1
they buy transit from (new 'up' field), so Tier 1 players keep 100%
reach. Bell and the big carriers extend to the new cities. Cuts on
Canadian links can be beavers, with a badge.
This commit is contained in:
Frederic Jung 2026-10-25 20:16:00 +01:00
parent 1dbb0dea81
commit 3a0de5d31a
No known key found for this signature in database
4 changed files with 58 additions and 13 deletions

View file

@ -6,6 +6,7 @@ All notable changes to this project are documented here. The project follows
## [Unreleased]
- Four new cities in North America: Kansas City, Calgary, Vancouver and Ottawa (#76). Canada gets two more big networks, Tell Us and Bodgers Communications, which you also reach through the Tier 1s they buy transit from. Ottawa's power grid is about as reliable as you would expect, and Canadian fiber has a new natural enemy.
- Reach in the top bar no longer rounds up to 100% when it is just short, and the Goals tab now says why you are not Tier 1 right now (#73). Tier 1 needs more than 99.9% reach, so one small network out of reach is enough to lose the title.
- New waves can join any route you already have between two cities, so two waves can run on the main route and two on the diverse one (#77). Each extra route shows up as its own choice, priced like the route it joins.
- Opening a link from the NOC on mobile now closes the NOC sheet so the link details are visible.

View file

@ -2396,4 +2396,15 @@
"you cannot reach {list}":"non raggiungi {list}",
"and {n} more":"e altri {n}",
"Not Tier 1 right now: {why}.":"Al momento non sei Tier 1: {why}.",
"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"Il centro geografico degli Stati Uniti. I data center stanno in vecchie miniere di calcare sottoterra: temperatura costante, niente tornado, e qualcuno continua a trovare le scarpe di Dorothy.",
"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"La porta delle praterie tra Vancouver e il resto del Canada. Un chinook scioglie la neve in un pomeriggio, poi nevica di nuovo.",
"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"La porta del Canada sul Pacifico. Piove così tanto che il raffreddamento gratuito include anche il lavaggio gratuito.",
"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"La capitale del Canada, un tempo chiamata Bytown, nome che le si addice. La rete elettrica salta quando c'è vento, ghiaccio o è martedì, quindi porta un generatore.",
"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"L'incumbent del Canada occidentale. Dicci cosa ti serve e noi ti diremo il prezzo.",
"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"Il gigante canadese del cavo, tenuto insieme con il nastro adesivo. Ogni tanto va giù tutto insieme, il che almeno è coerente.",
"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Un castoro ha rosicchiato la tua wave {a}–{b}. Ha usato la fibra per finire una diga.",
"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"La tua fibra {a}–{b} è giù. La squadra di riparazione ha trovato segni di denti, una tana e un castoro molto orgoglioso.",
"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"Il gelo ha crepato il cavidotto sulla {a}–{b}, e un castoro ha fatto il resto.",
"Dam It":"Porca diga!",
"Have your fiber chewed through by a beaver.":"Fatti rosicchiare la fibra da un castoro.",
};

File diff suppressed because one or more lines are too long

View file

@ -435,3 +435,28 @@ test('#22 Tier 1 networks can lay their own subsea cable', () => {
assert.match(ev("ownCabWhy('sha','sea')"), /China/);
assert.deepEqual(errors, []);
});
test('#76 Kansas City, Calgary, Vancouver and Ottawa, with two more Canadian giants and their beavers', () => {
const { ev, errors } = load();
ev("ACT.start({});S.cash=1e9;S.lvl=4;for(const g of GOALS)S.done[g.id]=0;ACT.launchBB({city:'fra'})");
for (const c of ['kcy', 'cal', 'van', 'ott']) {
assert.equal(ev(`CITY.${c}.land`), 'am');
assert.ok(ev(`CITY.${c}.ix.length>0&&CITY.${c}.dc.length>0`), `${c} has an IX and a data center`);
}
assert.equal(ev('CITY.ott.blackout'), true, 'Ottawa gets frequent power cuts');
assert.equal(ev("['tor','mtl','cal','van','ott'].every(c=>CITY[c].ca)&&!CITY.kcy.ca"), true);
// Canadian eyeballs come through the Tier 1s they buy transit from, so a Tier 1 keeps its reach
ev("S.transit=[];S.ixp={};S.pni=[];for(const n of t1Need())S.pni.push({id:n.id,net:n.id,city:'fra',tier:0});compute()");
assert.equal(ev("t1Need().every(n=>n.pops.includes('fra'))"), true);
assert.equal(ev("R.reachable.tlu&&R.reachable.rgc"), true, 'reachable over PNIs with their upstream Tier 1s');
assert.equal(ev("NET.tlu.up.every(id=>NET[id].type==='t1')&&NET.rgc.up.every(id=>NET[id].type==='t1')"), true);
// a cut on a Canadian link is often a beaver
ev("ACT.buildPop({city:'van'});ACT.buildPop({city:'cal'});S.links=[];UI.via=null;openLinkModal('van','cal');ACT.buildLink({tier:1});closeModal()");
const src = ev('fireFailure.toString()').replace(/^function fireFailure/, 'function');
ev('window.__ff=' + src.replace('type=pick(f);}', "type='cut';}"));
ev("for(let i=0;i<40&&!(S.stats.f&&S.stats.f.beaver);i++){for(const l of S.links)l.cut=0;S.inc=[];__ff();}");
assert.ok(ev("!!(S.stats.f&&S.stats.f.beaver)"), 'a beaver chewed through it');
ev('checkBadges()');
assert.ok(ev("(S.badges||[]).includes('beaver')||!!(S.badge&&S.badge.beaver)||BADGES.find(b=>b.id==='beaver').ok()"), 'Dam It');
assert.deepEqual(errors, []);
});