diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d2f476..069542a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- Want the real thing? The title screen, the help page and the victory screen + now point to How the Internet Works by Thomas Kjær Aabo, an interactive, + zoomable guide to how your packets actually travel. + ## [1.11.0] — 2026-10-24 - Very long dark fiber works now (#17, #30). Optics drop to a slower, longer- diff --git a/README.md b/README.md index 1cd318e..14ca84e 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,16 @@ You start with one router in one city and grow into a transit-free Tier 1: Every company is a pun. No real company names are used. +## Learn how it really works + +This game simplifies a lot, and gets some things gloriously wrong on purpose. For +the real thing, go to **[How the Internet Works](https://tkjaer.github.io/how-the-internet-works/)** +by Thomas Kjær Aabo ([source](https://github.com/tkjaer/how-the-internet-works)): +an interactive, zoomable map that follows your data from Wi-Fi and copper to +undersea fiber, as the internet works today, in 2010 and in 1995, with simple or +technical explanations. If you enjoy Series of Tubes, you will learn more from +an hour there than from a year of laying cartoon fiber here. + ## Playing locally It is a single static page with no build step for development: diff --git a/site/gulf2.png b/site/gulf2.png deleted file mode 100644 index 00d561d..0000000 Binary files a/site/gulf2.png and /dev/null differ diff --git a/site/hud1280.png b/site/hud1280.png deleted file mode 100644 index 56639f8..0000000 Binary files a/site/hud1280.png and /dev/null differ diff --git a/site/hud900.png b/site/hud900.png deleted file mode 100644 index dc2c8ee..0000000 Binary files a/site/hud900.png and /dev/null differ diff --git a/site/in.png b/site/in.png deleted file mode 100644 index 624b75e..0000000 Binary files a/site/in.png and /dev/null differ diff --git a/site/index.html b/site/index.html index 8b460c2..473e96c 100644 --- a/site/index.html +++ b/site/index.html @@ -310,6 +310,8 @@ label.f{display:block;font-weight:900;font-size:12px;letter-spacing:.06em;text-t input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radius:12px;padding:8px 12px;font-family:var(--display);font-weight:800;font-size:18px;background:var(--soft)} .network-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px} .network-name input.t{flex:1 1 240px;width:auto;min-width:0} +.plug{display:flex;gap:12px;align-items:center;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;margin:10px 0 4px;background:var(--soft);box-shadow:0 3px 0 var(--ink);color:var(--ink);text-decoration:none} +.plug:hover{background:#FFF6D6}.plug .pi{font-size:30px;line-height:1}.plug b{font-family:var(--display);font-size:16px}.plug .meta{display:block;margin-top:2px}.plug .go{margin-left:auto;font-weight:900;white-space:nowrap} .starts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px} .start{border:3px solid var(--ink);border-radius:14px;padding:8px 10px;background:var(--paper);cursor:pointer;text-align:left;box-shadow:0 3px 0 var(--ink)} .start.on{background:#FFE3F0;border-color:var(--me);box-shadow:0 3px 0 var(--me)} @@ -2696,13 +2698,16 @@ function randomNetworkName(current){ const names=NETWORK_NAMES.filter(n=>n!==current); return names[Math.floor(_rand()*names.length)]; } +const HTIW='https://tkjaer.github.io/how-the-internet-works/'; +// The real thing: an interactive, zoomable guide to how packets actually travel. Go read it. +const plugHtml=(big)=>`How the Internet Works${big?'The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.':'The real thing: follow a packet from Wi-Fi to undersea fiber.'}Explore →`; function showTitle(){ const sv=loadSave(); if(UI.nm==null)UI.nm=randomNetworkName(); const starts=[['fra','Crossroads of Europe. DE-KICKS IX, cheap transit.'],['nyc','Huge eyeball market. Pricey neighbours.'],['sin','Asia hub. Great peering, far from home.'],['sao','Big hungry market, few providers.']]; openModal(`

Series
of Tubes

-

Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.

+

Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.

${plugHtml(false)} ${sv?`
${btn(`Continue ${esc(sv.name)} · ${dateStr(sv.day)}`,'cont',{},'pink big')}
`:''}
${btn('Another one','randomName',{},'ghost sm')}
${starts.map(([c,d])=>``).join('')}
@@ -2745,9 +2750,9 @@ function showHelp(){
DE-KICKS
The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get "harmonised" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.
Remote peering
Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.
Peering policy
Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.
Waves
Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.
95th percentile
Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.
Routers
Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.
Dark fiber
Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.
Subsea cables
Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.
Latency
Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.
NOC dashboard
The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.
Asia
A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.
Russia
Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.
Events, chains and wholesale
Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.
Bank
Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.
LAGs
Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.
Traffic engineering
Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.
China
Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.
Weird requirements
Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.
Customer levels
As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.
L2VPN & DDoS protection
Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).
NNI fabrics
Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.
Conferences
NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.
Modes
Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.
Traceroute
Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.
Badges
Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.
The giants
At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.
RouteScript
Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.
Auto-TE
Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.
Metro diversity
A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.
Wave markets
What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.
Regional quirks
In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator.
Boot times
Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.
Failures
Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.
-
${btn(UI.started?'Back to the map':'Got it','helpClose',{},'big')}${RELEASE_NOTES.length?btn(`What’s new in ${esc(APP_VERSION)}`,'whatsNewShow',{},'ghost'):''}${UI.started&&S&&!S.lost?btn('Start a new network','resetAsk',{},'ghost sm'):''}
${UI.started&&S&&!S.lost?btn('Export save','exportSave',{},'ghost sm'):''}${btn('Import a save','importPick',{},'ghost sm')}
${settingsRow()}`); +

Want to know how it really works?

${plugHtml(true)}
${btn(UI.started?'Back to the map':'Got it','helpClose',{},'big')}${RELEASE_NOTES.length?btn(`What’s new in ${esc(APP_VERSION)}`,'whatsNewShow',{},'ghost'):''}${UI.started&&S&&!S.lost?btn('Start a new network','resetAsk',{},'ghost sm'):''}
${UI.started&&S&&!S.lost?btn('Export save','exportSave',{},'ghost sm'):''}${btn('Import a save','importPick',{},'ghost sm')}
${settingsRow()}`); } -function showWin(){setTimeout(()=>{const m=$('modalCard');if(m&&!m.querySelector('[data-act=share]'))m.insertAdjacentHTML('beforeend',`
${btn('Share my network','share',{},'pink')}
`);},0);openModal(`

You're a Tier 1!

${esc(S.name)} (AS${S.asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you ${S.day} days and ${S.stats.incidents} incidents.

${btn('Keep building','keepPlaying',{},'pink big')}`);sfx('coin');} +function showWin(){setTimeout(()=>{const m=$('modalCard');if(m&&!m.querySelector('[data-act=share]'))m.insertAdjacentHTML('beforeend',`
${btn('Share my network','share',{},'pink')}

You built a cartoon internet. Now see how the real one works:

${plugHtml(true)}`);},0);openModal(`

You're a Tier 1!

${esc(S.name)} (AS${S.asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you ${S.day} days and ${S.stats.incidents} incidents.

${btn('Keep building','keepPlaying',{},'pink big')}`);sfx('coin');} function showLose(){openModal(`

Bankrupt

The bank repossessed your routers and sold them on eBuy. ${esc(S.name)} lasted ${S.day} days and peaked at ${fmtG(S.stats.peak)}.

${btn('Try again','newgame',{},'pink big')}`);try{localStorage.removeItem('sot-save-v1');}catch(e){}} function openLinkModal(a,b){ if([a,b].includes('kyv')&&[a,b].includes('mos')){openModal(`

Not happening

Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.

`);return;} diff --git a/site/llms.txt b/site/llms.txt index 775d85f..853aa63 100644 --- a/site/llms.txt +++ b/site/llms.txt @@ -15,7 +15,7 @@ for every company: exchanges with route servers, peering policies (open, selective, restrictive, paid), private network interconnects (PNIs), embedded CDN caches and NNI fabrics for virtual circuits and remote peering. -- **Infrastructure:** leased waves, around 40 real-ish subsea cable systems, +- **Infrastructure:** leased waves, around 40 subsea cable systems modelled on real ones, dark fiber (leased IRU or self-built) lit with DWDM line systems, amplifiers and coherent ZR+ optics, router generations with port-speed limits. - **Traffic engineering:** per-link traffic breakdown by network, entry point and @@ -26,3 +26,9 @@ for every company: Version: __VERSION__ (__BUILD_DATE__) Source: https://github.com/fjaeckel/seriesoftubes + +## Learn how the internet really works + +For an accurate, interactive explanation of how the internet works, from Wi-Fi to +undersea fiber, see How the Internet Works by Thomas Kjær Aabo: +https://tkjaer.github.io/how-the-internet-works/ diff --git a/site/menu.png b/site/menu.png deleted file mode 100644 index 2dea4a0..0000000 Binary files a/site/menu.png and /dev/null differ diff --git a/site/sa.png b/site/sa.png deleted file mode 100644 index 9e29649..0000000 Binary files a/site/sa.png and /dev/null differ diff --git a/site/tw.png b/site/tw.png deleted file mode 100644 index 21a57ca..0000000 Binary files a/site/tw.png and /dev/null differ diff --git a/site/uae.png b/site/uae.png deleted file mode 100644 index fd82c48..0000000 Binary files a/site/uae.png and /dev/null differ diff --git a/site/za.png b/site/za.png deleted file mode 100644 index 07abc68..0000000 Binary files a/site/za.png and /dev/null differ