Commit graph

49 commits

Author SHA1 Message Date
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
Frederic Jung
16e1f95d1b
Merge pull request #25 from daniloctdev/fix/rival-ix-depeer-crash
Fix the game freezing when a peer drops you at a rival exchange
2026-10-24 21:00:10 +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
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
8fd79ef122
Release 1.10.0 2026-10-24 06:47:10 +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
aad255d193
Release 1.9.0 with RouteScript 2026-10-23 18:29:17 +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
400d47e3e0
Release 1.9.0 2026-10-23 18:16:12 +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
7587a56b46
Release 1.8.1 2026-10-23 16:33:43 +02:00
Frederic Jung
86de7d79e9
Settings: animations on, off or auto, and sound 2026-10-23 16:26:44 +02:00
Frederic Jung
dd2352e497
Release 1.8.0 2026-10-23 16:06:17 +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
0ca92556dc
Release 1.7.0 2026-10-23 15:44:00 +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
ea00bd30f1
Release 1.6.0 2026-10-23 15:21:38 +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
Frederic Jung
de313bda0b
Release 1.5.0 2026-10-23 14:25:20 +02: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
Frederic Jung
bc32d59728
Release 1.4.0 2026-10-23 14:00:58 +02: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
91a9b57bab
Release 1.3.0 2026-10-23 11:53:59 +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
8cb72979d3
Release 1.2.0 2026-10-23 11:43:58 +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
d2aebbd507
Release 1.1.0 2026-10-23 10:42:08 +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