From 3ba35a83996a40eb8d57574013782c7dee26a692 Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Sun, 25 Oct 2026 17:57:07 +0100 Subject: [PATCH] Add DKNOG in Copenhagen to the conference calendar --- CHANGELOG.md | 2 ++ site/index.html | 2 +- tests/modes.test.js | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92bc027..198352e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- DKNOG in Copenhagen joins the conference calendar every March. + ## [1.26.1] — 2026-10-25 - Subsea cables no longer disappear when you zoom in on the map (#49). diff --git a/site/index.html b/site/index.html index 4bde91c..332e494 100644 --- a/site/index.html +++ b/site/index.html @@ -1385,7 +1385,7 @@ function beginGame(nm,city,o={}){if(needPitch()&&!UI.pitched){UI.pendGame=[nm,ci toast(S.scn?`${esc(S.scn.name)}
${esc(o.scn.goal||tr('Serve as much traffic as you can in one year.'))} ${tr('You have {n} days.',{n:S.scn.days})}`:S.mode==='sandbox'?tr('Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.'):tr('Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.',{name:esc(nm),asn:S.asn,city:CITY[city].name}),'goal'); renderAll();save();if(!S.scn&&S.mode!=='sandbox')tutorialStart();} /* ---------- conference season ---------- */ -const CONFS=[{n:'NANOG',c:'chi',m:1},{n:'APRICOT',c:'sin',m:1},{n:'Peering Days',c:'waw',m:2},{n:'UKNOF',c:'lon',m:3},{n:'MENOG',c:'dxb',m:3},{n:'NZNOG',c:'akl',m:3},{n:'RIPE',c:'ams',m:4},{n:'NANOG',c:'sea',m:5},{n:'IX Forum',c:'tok',m:6},{n:'AfPIF',c:'nbo',m:7},{n:'AusNOG',c:'syd',m:8},{n:'NLNOG Day',c:'ams',m:8},{n:'LACNOG',c:'sao',m:9},{n:'NANOG',c:'ash',m:9},{n:'DENOG',c:'fra',m:10},{n:'RIPE',c:'ber',m:10},{n:'PTT Forum',c:'sao',m:11}]; +const CONFS=[{n:'NANOG',c:'chi',m:1},{n:'APRICOT',c:'sin',m:1},{n:'Peering Days',c:'waw',m:2},{n:'DKNOG',c:'cph',m:2},{n:'UKNOF',c:'lon',m:3},{n:'MENOG',c:'dxb',m:3},{n:'NZNOG',c:'akl',m:3},{n:'RIPE',c:'ams',m:4},{n:'NANOG',c:'sea',m:5},{n:'IX Forum',c:'tok',m:6},{n:'AfPIF',c:'nbo',m:7},{n:'AusNOG',c:'syd',m:8},{n:'NLNOG Day',c:'ams',m:8},{n:'LACNOG',c:'sao',m:9},{n:'NANOG',c:'ash',m:9},{n:'DENOG',c:'fra',m:10},{n:'RIPE',c:'ber',m:10},{n:'PTT Forum',c:'sao',m:11}]; const CONF_COST=8000,CONF_DAYS=45; const confDay=(cf,y)=>y*360+cf.m*30+9; function confKey(cf,y){return cf.n+'@'+cf.c+'@'+y;} diff --git a/tests/modes.test.js b/tests/modes.test.js index 4463006..2684eaa 100644 --- a/tests/modes.test.js +++ b/tests/modes.test.js @@ -333,3 +333,18 @@ test('Flood Season: attacks keep coming, grow, and only count when service held' assert.ok(ev('!!S.scn.done'), 'the goal completes'); assert.deepEqual(errors, []); }); + +test('DKNOG in Copenhagen is on the conference calendar', () => { + const { ev, errors } = load(); + ev("ACT.start({});S.cash=1e9;for(const g of GOALS)S.done[g.id]=0"); + const cf = JSON.parse(ev("JSON.stringify(CONFS.find(c=>c.n==='DKNOG'))")); + assert.equal(cf.c, 'cph'); + assert.equal(ev(`MONTHS[${cf.m}]`), 'Mar', 'held in March, like the real one'); + ev(`S.day=confDay(CONFS.find(c=>c.n==='DKNOG'),0)-20;ACT.leftTab({t:'deals'})`); + assert.match(ev("document.body.textContent"), /DKNOG/); + const key = ev("upcomingConfs(30).find(c=>c.n==='DKNOG').key"); + ev(`ACT.confGo({key:'${key}'})`); + ev("for(let i=0;i<21;i++)dayTick()"); + assert.equal(ev("S.conf&&S.conf.reg"), 'EU', 'the glow helps with European peers'); + assert.deepEqual(errors, []); +});