Commit graph

348 commits

Author SHA1 Message Date
Frederic Jung
71dbc6e37b
Light up very long dark fiber with long-haul modes and regen sites
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 #17
Closes #30
2026-10-24 21:46:48 +02:00
Frederic Jung
7457acef1e
Stop scenic routing from flapping between paths
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
2026-10-24 21:43:05 +02: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
ecdc0b5cc3
Polish the community exchanges and wire up Barcelona
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.
2026-10-24 21:16:27 +02:00
Frederic Jung
4753429327
Merge pull request #18 from NickBouwhuis/add-fries-ix
Add Barcelona and Catnip-IX, as well as second community IXs.
2026-10-24 21:14:23 +02:00
Frederic Jung
25749472d3
Only ask for shark-free routes that can stay on land
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
2026-10-24 21:11:22 +02:00
Frederic Jung
988e0c5d15
Fix the max-prefix freeze at rival exchanges and keep the loop alive
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.
2026-10-24 21:02:08 +02:00
Danilo Carbonaro
ba1c1e1a35 Fix the game freezing when a peer drops you at a rival exchange
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.
2026-10-24 18:18:47 +02:00
Nick Bouwhuis
9e9ecca1ad Remove duplicate NYC exchange and retain NY-Yikes 2026-10-24 16:46:33 +02:00
Nick Bouwhuis
4c88e00434 Correct exchange pricing claims 2026-10-24 15:34:26 +02:00
Nick Bouwhuis
e0e1500b8e Merge upstream main and reconcile community exchanges 2026-10-24 15:15:22 +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
0e5abd5c6a
Make router ports finite and add more router models
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.
2026-10-24 06:40:08 +02:00
Frederic Jung
5e88e44a0a
Add Italy, Portugal, Greece and more US cities; rival IXes and a long tail of small peers
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.
2026-10-24 06:29:19 +02:00
Frederic Jung
cc6d328511
Freeze map animation while paused
Packet dots, waves and clouds run on a clock that only advances while
the game is playing.

Closes #11
2026-10-24 06:07:33 +02:00
Frederic Jung
23b72dcb92
Realistic router ports, North Sea cables and dark fiber, own IX fabric upgrades, regional wave markets, the Gulf, tablet layout
Closes #10
2026-10-23 20:39:48 +02:00
Frederic Jung
b9bfab51f7
Split ports across both metro sites; keep the top bar on one row
Closes #8
2026-10-23 18:47:41 +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
f9d89ac815
NOC legend, sortable network table and transit insights
Closes #7
2026-10-23 18:02:06 +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
494d71793e
Fix map wrap, touch and keyboard input; harden build and release workflow; docs 2026-10-23 17:56:34 +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
Frederic Jung
9d73d6d449
16 more badges 2026-10-23 15:41:53 +02:00
Frederic Jung
bbc9f39c8c
Auto-TE: spill overflow onto alternate paths 2026-10-23 15:29:45 +02:00
Frederic Jung
e9c4d1726f
Badges with rarities and a hall of fame; five new goals 2026-10-23 15:16:29 +02:00
Frederic Jung
c2febdc5b1
Hyperscaler and AI cloud deals: AI WANs, multi-site training, ingests, fiber pairs 2026-10-23 15:13:09 +02:00
Frederic Jung
de79fbd0a7
Metro diversity with second sites; more Asia-Pacific and Eastern Europe POPs 2026-10-23 15:07:50 +02:00
Frederic Jung
f93c7de191
Add South America, Taiwan, more India, the UAE and Cape Town; game menu; more incident variety 2026-10-23 14:57:48 +02:00
Claude
706dc92e8f
Add second exchanges in seven more cities, and Barcelona with Catnip-IX
Paella-NIX (Madrid), KleyWrecks (Frankfurt), LO-NAPS (London),
DE-KICKS New York, JINXED-IX (Johannesburg), IX Strayla (Sydney) and
BB-Kicks (Tokyo) join FRIES-IX in XIX. Exchanges can now discount ports
with a fee multiplier. When a city has several, each IX section is
headed with its name.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZpEGw99npYwAWtMVXQYgo
2026-10-23 12:23:48 +00:00
Frederic Jung
8649495b50
Slow-booting routers and the Junipurr PacketOinker 2026-10-23 14:23:45 +02:00
Frederic Jung
c3322cc47b
Balance load across equal exits, export/import saves, show full ports on map and NOC
Closes #4, closes #5, closes #6
2026-10-23 14:21:22 +02:00
Claude
001ff7a180
Add FRIES-IX, a second exchange in Amsterdam with free ports
IXs are now keyed separately from cities: a city's main exchange keeps
the city id, extra ones live in XIX under 'city:name'. Existing saves
load unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NZpEGw99npYwAWtMVXQYgo
2026-10-23 12:18:32 +00:00
Frederic Jung
507fe70e25
DE-KICKS: hidden prices, haggling, harmonisation, auto-enrolled add-ons, retention offers 2026-10-23 13:38:22 +02:00
Frederic Jung
22bdaf9f9b
Discourage remote peering: reseller markup, oversubscribed ports, refusals 2026-10-23 12:42:40 +02:00
Frederic Jung
f20f460c81
Let big peers refuse or tear down peering in some cities 2026-10-23 12:39:39 +02:00
Frederic Jung
d0e2e4d430
Add event networks, SD-WAN chains, wholesale waves and dark fiber pair leases 2026-10-23 11:52:57 +02:00
Frederic Jung
e082d6fc60
Persist games across reloads and announce new releases
- Autosave every five seconds while playing, plus on pagehide and when
  the tab is hidden. On load, a saved game resumes immediately (same
  speed and camera) instead of waiting behind the title screen.
- The build turns this version's CHANGELOG section into release notes:
  baked into the page for a one-time "What's new" card for returning
  players, and published as /version.json.
- Open games poll /version.json every 10 minutes and when the tab comes
  back into view; if a newer release is out, a banner offers to save
  and reload.
- "Start a new network" moves into the help screen, behind a confirm.
2026-10-23 11:42:28 +02:00
Frederic Jung
b52d20e536
Add a bank with loans
Tap the cash chip to open the bank. Lenders make loan offers now and
then, and much more often while you are in the red, so a bad hour no
longer has to end in bankruptcy.

- Eleven lenders with their own rates, terms and odd conditions, from
  Goldman Sacks (A rating and up) to the Loan Shark (always open, sends
  "reminders" when you are late).
- Conditions are checked daily: 15 days of grace, a warning, then a
  penalty added to the balance every 30 days while broken.
- Credit rating from revenue, profit, cash and payment burden decides
  which banks will talk to you.
- Crypto Bros pay out in a volatile TubeCoin; Venture Vultures take a
  share of revenue instead of repayments and can be bought out.
- Repay early for a 2% fee. Payments show up in costs and the NOC
  dashboard.

Closes #1
Closes #2
2026-10-23 11:24:09 +02:00
Frederic Jung
1980d673b9
Add Stuttgart with the Spätzle-IX
Stuttgart has no transit for sale and no private interconnects: the
Spätzle-IX is the only way to exchange traffic locally, otherwise haul
it to Frankfurt. Frankfurt and Stuttgart get small display-only nudges
so they don't overlap on the map; distances still use real coordinates.
2026-10-23 10:41:28 +02:00
Frederic Jung
fbe2dab565
Add LAGs for transit, IX ports and PNIs
Bundle up to 8 identical ports to the same transit provider, IX or PNI.
Each member costs a full port and adds capacity; flow hashing is never
perfectly even, so a bundle carries about 95% of the sum. Upgrading the
port speed upgrades every member.

Also fix goals completed on day 0 paying their reward again on every
action that day.
2026-10-23 09:08:51 +02:00
Frederic Jung
1685a045e6
Series of Tubes 1.0.0
A cartoon browser game about building the internet, deployed to
https://seriesoftub.es from published releases only.

- site/: the single-file game plus favicons, app icons, manifest,
  social image, robots.txt, sitemap.xml, llms.txt and a 404 page.
- Full SEO head: canonical URL, Open Graph and Twitter cards,
  WebSite and VideoGame structured data, noscript fallback.
- Cookieless Ridiculytics analytics via stats.seriesoftub.es, pinned
  with SRI and active only on the production domain.
- Headless test suite (node:test + jsdom), CI on every push, and a
  release workflow that verifies the tag, tests, builds, deploys to
  GitHub Pages and pings IndexNow.
2026-10-23 09:01:39 +02:00