Commit graph

20 commits

Author SHA1 Message Date
Frederic Jung
a8fa75411c
Merge #214-#217: Manila, Cebu and Davao (fmcglinn)
Adapted to main: Globe is main's Globe-Trotter Telecom (now a Philippine
carrier in Cebu and Davao) instead of a second AS4775, the new Philippine
networks buy transit from NTT and Tata like main's other island networks,
cities and networks carry their country, and Philippine transit sits in the
new pricing. Cable names no longer pile up where short cables crowd.
2026-10-31 14:11:12 +01:00
fmcglinn
807e981a4d
Philippine eyeballs in line with real populations
Most cities on the map carry about 40G of eyeballs per million people
(São Paulo 41, Recife 39, Seoul 39, Tokyo 37). Manila and Davao sat at
24 and Cebu at 32. At 40G per million: Manila 600 to 1,000 (Demographia
2022 urban area, 24.9 million), Cebu 100 to 125 (Metro Cebu, 2020
census, 3.17 million) and Davao 80 to 135 (Metro Davao, 2020 census,
3.34 million).
2026-10-30 16:26:15 +11:00
fmcglinn
cb7d5912d2
GotchaFIX ports at GetaFIX's real prices
GetaFIX charges $700 a month for 10G and $2,800 for 100G. One multiplier
cannot hit both, so GotchaFIX Manila, Cebu and Davao get ixCheap 1.8:
$720 and $2,700, within 4% of each. In-Vitro-IX goes to 2.2 so the
incumbent's exchange stays the dearest in Manila.
2026-10-30 16:25:26 +11:00
fmcglinn
870a2eba95
Philippine pricing: transit 1.9 times the Asian rate, broadband ARPU 0.7
Manila's 100 GigE transit is $2.25 per Mbps against Jakarta's $1.21
(TeleGeography, 2026), so Manila, Cebu and Davao get PH_TRANSIT 4.7, about
1.9 times the 2.5 every other Asian city pays. PLDT Home's full-year 2025
ARPU was PHP 1,447 a month (about US$25), so Philippine homes pay 0.7 of
the base broadband rate.
2026-10-30 16:25:03 +11:00
fmcglinn
2b6a28203a
Pan de Sal Cable Network runs straight from Manila to Davao
PDSCN's Luzon–Mindanao segment (lit February 2024) runs from Lucena
through the Visayas to Cagayan de Oro, so the cable gets a Manila–Davao
pair alongside its Cebu landings: overland to Lucena, subsea to Mindanao's
north coast, overland to Davao.
2026-10-30 16:23:56 +11:00
fmcglinn
becbd3de8f
Davao: Mindanao, GotchaFIX Davao, and the trans-Pacific landings moved from Manila
Davao joins the map on Mindanao, with GotchaFIX Davao and Heimdall's Hut.
Mindanao's coastline is now Natural Earth 1:50m (the old simplified ring
left Davao in the sea).

Bi-Frosted's Philippine branch and SEA-US land at Davao, as the real
cables do (Converge's Davao station and Globe's Talomo station), instead
of Manila. sanitize() drops the cable tag from saved links on a pair that
no longer exists, so those links keep working as plain subsea links.

The Pan de Sal Cable Network, the Philippines Long Distance Relationship
and the new Diverge VisMin Express reach Mindanao's north coast from
Cebu and run overland to Davao. PLDTea Time, Snow Globe and Diverge
reach Davao.
2026-10-30 16:23:56 +11:00
fmcglinn
d0d97e068e
Cebu: its own island, GotchaFIX Cebu and two domestic cables from Manila
Cebu joins the map on its own landmass, with its outline taken from
Natural Earth 1:50m (the simplified coastline had dropped it). GotchaFIX
Cebu and Magellan's Last Rack. The Pan de Sal Cable Network (PDSCN,
Luzon to Mactan) and the Philippines Long Distance Relationship (PLDT
DFON, overland to Lucena then subsea to Cebu City) link it to Manila.
PLDTea Time, Snow Globe and Diverge reach Cebu, and typhoons can hit it.
2026-10-30 16:21:12 +11:00
fmcglinn
8501458101
Manila: GotchaFIX, Bayanihan-IX, In-Vitro-IX and four Philippine networks
Manila gets its real exchanges: GotchaFIX Manila (neutral), the free
community Bayanihan-IX and the incumbent-run In-Vitro-IX. Snow Globe,
Diverge, Smarty Pants and Ditto join as Philippine networks. PLDTea Time
and Snow Globe now sell transit, and a PLDTea Time PNI also reaches
Smarty Pants. Old saves with a player-founded Manila exchange keep it.
2026-10-30 14:52:09 +11:00
Frederic Jung
5f09111a95
Merge v2 into v2-gamerules 2026-10-29 07:15:56 +01:00
Frederic Jung
837c56c13e
Connectivity prices for the 47 cities that had no data (#94) 2026-10-28 19:42:35 +01:00
Frederic Jung
462e783599
Every city has its country code; the 2x border toll stays an African thing 2026-10-28 19:00:58 +01:00
Frederic Jung
1b12a2c014
Merge #94: Calibrate city prices with PeeringDB and Hurricane Electric data (clayberF) 2026-10-28 15:04:40 +01:00
Frederic Jung
29ad74743c
Subsea cables stay at sea: fix the date-line wrap and routes across land (#183)
Eight Pacific pairs added in 1.35.0 had waypoints that jumped from +180 to
-180 longitude, so the renderer drew them across the whole map. Waypoint
longitudes are now continuous, as the hand-drawn routes always were.

A scan of all 475 cable pairs found 147 that cut across land with sea on both
sides (the Horn of Africa, Arabia, India, Brazil, Newfoundland, ...). Those
now follow the game's own sea router, simplified only as far as the line
stays off land; inland endpoints route between the coastal ends and keep
their overland leg. 27 more pairs into inland cities now come ashore at the
nearest coast. Hibernia Express is traced by hand south of Ireland to Brean
so it stays the straightest Atlantic crossing. Left alone on purpose: the
Suez Canal and Dardanelles crossings, Quintillion's overland Alaska leg and
Celtix's Welsh landing.

Tests: no pair jumps the seam and none crosses more than 160 km of land
mid-route. EIG is now 8,613 km, so overland is 9.97x subsea instead of
10x+; Lisbon-Lagos fits 1.6T directly at 5,914 km.

Thanks to mindolo for the report and the analysis in #183.
2026-10-28 06:17:39 +01:00
Frederic Jung
9df1835f70
More real cables: North Sea, Baltic, Tampnet, Indian Ocean and Asia-Pacific
North Sea and Baltic: Kristiansand, Esbjerg and Riga as new landings.
Havfrue's Danish and Norwegian landings, HAVSIL, Skagenfiber, Norfest and
NorSea Com (Tampnet, past the Draupner and Ekofisk platforms to
Lowestoft), CeltixConnect-2 and North Sea Connect, C-Lion1's real
Rostock landing, GlobalConnect's Digital E4, Eastern Light, the Elisa
cables, Latvia-Sweden and BCS. Baltic cables carry an anchor flag that
makes them cut more often (it used to be a list of two ids).

Indian Ocean and Asia-Pacific: Muscat, Malé and Fukuoka as new landings.
SJC2, ADC, ASE, APCN-2, EAC-C2C, FLAG and its North Asia loop, SEA-ME-WE 5,
Unity, TGN-IA, TPE, Hong Kong-Guam, MIST, IAX, TIC, TW1, MCT and KJCN as
puns; the missing real landings on SEA-ME-WE 4 and 6, AAE-1, PEACE, APG,
SJC, PLCN, NCP, FASTER, JUPITER, Indigo, Bifrost, 2Africa Pearls and the
Oman Australia cable. Existing pairs are untouched so saved links keep
their cable. Routes come from the game's own sea router.

Tests that relied on Colombo having one cable and Oslo having none now use
St Helena and Zurich.
2026-10-27 22:29:32 +01:00
Frederic Jung
75f343f019
Caribbean, Indian Ocean, Pitcairn, Alaska and Russia's Far East; more US and Australian eyeballs (#125, #152, #124, #145, #155, #154)
Caribbean: San Juan, Santo Domingo, Kingston, Havana, Nassau, Port of Spain,
Bridgetown, Fort-de-France and Willemstad on their own islands, with
ARCOS, Americas-II, ECFS, Southern Caribbean Fiber, ALBA-1, CFX-1,
Fibralink, BICS, AMX-1 and EC Link as puns. Exchanges only where one runs
(PR-IX, JIXP, TTIX, AMS-IX Caribbean).

Indian Ocean: Réunion (REUNIX as Rougail SAUCIX), Mauritius, Madagascar
and the Seychelles on SAFE, LION, METISS, EASSy, SEAS and PEACE.

Pitcairn: no cable and no provider; cables may land there and the UK pays
a monthly grant while the islanders are served.

Alaska, Prince Rupert and Russia's Arctic and Pacific: towns with no road
in are their own landmass. Real cables only (Quintillion, AU, AKORN,
AU-Aleutians, Topaz, Connected Coast, Sakhalin-Kamchatka-Magadan,
Petropavlovsk-Anadyr, RJCN, HSCS). Polar Express never got past Amderma,
so its towns have a beach for your own cable instead.

Eyeballs: AT&Tease (a Tier 1 for new games only, t1v 3), Tee-Hee Mobile,
Coax, Pessimum, Final Frontear, GFibber, Sonic Boomer; Neptoon, Lawn-tel,
Pent-Up Net, Dive-Bomb Magpie, Internope; Musklink in the US. Coax merges
into Spectre-um on day 365, Final Frontear into Very-Zone on day 730.
Coastlines refined from Natural Earth around the new places.
2026-10-27 21:34:09 +01:00
Frederic Jung
b107d3fa03
Name São Paulo's exchange IX.brrr São Paulo like the rest of Brazil (#166) 2026-10-27 20:38:42 +01:00
Frederic Jung
e817beed1a
Translations keyed by labels instead of English text
tr('pnis.delivery_2_to_6_weeks') instead of tr('Delivery: 2 to 6 weeks'): the
English lives once, in src/i18n/en.js (inlined into the page at build, so no
extra request), and it/pt/fr map the same labels. Changing English wording no
longer renames a key in every dictionary.

- 2,899 labels, made from where each text is used and its first words; short
  shared words are common.*
- plurals are one label with {one, other}: trn('label', n)
- static markup: data-i18n="label", data-i18n-aria-label, data-i18n-title
- saves from 1.33 and older stored English text in a few places; tr() still
  resolves it
- i18n-check: undefined/unused labels, markup drift, plural shape; i18n-add.js
  works on labels and --rename updates src/ too
- the old-branch port tool gives old English-keyed code and dictionaries the
  same labels
2026-10-27 11:05:09 +01:00
Frederic Jung
dbbbdaa1e3
Merge main (city density rule) into the split layout via port-branch 2026-10-27 10:23:42 +01:00
Frederic Jung
c64b139a86
Fewer merge conflicts: actions by area, one city per line, sorted dictionaries
- ACT is split by area into game/90-actions/*.js (const ACT in the first file,
  Object.assign in the rest)
- CITY_LL, CITY_NUDGE and LANDS_LL have one entry per line; the id-keyed ones
  are sorted
- site/i18n/*.js are sorted, one entry per line; i18n-check enforces it and
  --fix (npm run i18n:fix) restores it; scripts/i18n-add.js adds, removes
  and renames entries in place
- scripts/legacy/port-branch.js moves a branch's site/index.html edits into
  src/ during a merge with main
- perf workflow and PR template build the base page with scripts/lib/page.js
2026-10-27 10:10:16 +01:00
Frederic Jung
67a40942b4
Split the game page into partials under src/, assembled into one index.html at build
site/index.html (900 KB of HTML, CSS and JS in one file) becomes src/: a shell
(src/index.html), styles/ and game/, concatenated in path order by
scripts/lib/page.js. The assembled page is byte-identical to the old file, so
load time and in-game performance are unchanged.

- scripts/build.js replaces build.sh (same env vars, same output)
- npm run dev: a zero-dependency dev server that assembles on every request
- tests assemble the page in memory; npm test runs every tests/*.test.js
- perf-bench takes --base-ref to build a git ref's page
- scripts/legacy/split-index-html.js is the splitter, kept for older branches
2026-10-27 10:05:56 +01:00