seriesoftubes/tests
Antoine fca11b39d2
fix(map): drop the last network's floaters when another one starts
Floaters ("New POP!", payday money) live in FLOATS and fade on the map's
animation clock, which only runs while the game does. A new network
whose clock stands still (the agent's clock on the development page)
kept the previous network's floaters frozen over its map until a reload:
hundreds of them after a payday on a big network at 8x.

Each floater now records the network that raised it, and the map drops
any that belong to another one (new game, another slot, import, puzzle,
title screen). Same code for the 2D and WebGL maps.
2026-11-05 21:40:13 +01:00
..
fixtures Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
helpers Routing loop: keep flows in typed-array columns instead of objects, and add up link and transit totals without boxing numbers 2026-11-01 14:27:45 +01:00
agent-api.test.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
agent-relay.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
agent-settings.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
alien-wave-rent.test.js Dark fiber leases cost half as much again (#203) 2026-11-05 08:19:05 +00:00
any-home-city.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
architect.test.js Architect: a diverse tube takes the cheapest other route, and the detour message names every site (closes #282) 2026-11-04 14:46:47 +01:00
au-north.test.js Port Hedland, Townsville and Alice Springs; the wet season up north (closes #255) 2026-11-03 10:28:03 +00:00
automation.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
backbone-core.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
badge-cape-horn.test.js A link starts at one of your POPs, for typed orders too 2026-11-04 22:45:52 +10:00
badges-variants.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
best-effort.test.js Best Effort: PNIs are up at once, no attack warnings without attacks 2026-11-03 08:19:10 +00:00
big-numbers.test.js feat(ui): show billions of dollars and petabits per second 2026-11-04 04:32:16 +01:00
bilbao-landing.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
borders-overland.test.js Nothing leaves South Korea over land 2026-11-04 13:25:34 +00:00
build.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
cable-labels.test.js Draw the map with WebGL2 by default, with the 2D canvas as fallback 2026-11-04 22:37:12 +01:00
cable-ships.test.js Alien waves priced against their fiber; crews halve a build at most (#203) 2026-11-05 06:50:25 +00:00
cache-ports.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
calendar.test.js A real calendar: months of 28 to 31 days and leap years; monthly prices, loans, the intern budget and conferences follow it (#257) 2026-11-01 19:02:06 +01:00
call-the-bank.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
capacity-deals.test.js Merge #156: look fiber customers up by link id (huguesdelamure) 2026-10-27 20:34:01 +01:00
capitals.test.js Every capital in Africa, which completes every capital of the world 2026-11-03 22:11:43 +01:00
chaos-monkey.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
chart-legend.test.js feat(noc): tooltips and clickable legends on the dashboard charts 2026-11-04 18:58:45 +01:00
city-size.test.js Map: cities show their size, and crowded small ones step back to a dot 2026-10-31 11:36:48 +01:00
compute-idempotent.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
customer-lifecycle.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
ddos-floods.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
ddos-model.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
ddos-scrub-clean.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
de-kicks-price-cap.test.js Follow-ups to #276, #277 and #278 2026-11-04 08:11:03 +01:00
diagnostic-info.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
direct-egress.test.js Prefer keeps the say at its own POP only, and the direct ranks stop slowing the game day 2026-11-01 20:07:23 +11:00
docker.test.js Container image: releases only, a token by default, lean layers; every action pinned 2026-11-05 20:14:04 +01:00
durations.json tests/durations.json: seconds per test file, so the four CI parts take about the same time 2026-10-31 14:23:42 +01:00
eyeballs.test.js Jokes target networks, never people; meetings meet where they really do; North Korea is a trickle 2026-11-04 16:36:05 +01:00
fiber-broker.test.js Consortium seats take regen sites; the broker sells listings as the market wants (#203) 2026-10-31 08:32:05 +01:00
find-city.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
focus-link.test.js Inspecting a link moves the map to it 2026-10-31 14:53:11 +00:00
game.test.js Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
gameplay-rules.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
gangnam.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
glowball-sakura-lager.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
gpu-bench-server.test.js Tests wait for state instead of sleeping, on free ports 2026-11-05 11:38:26 +01:00
gpu-bench.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
harness.js A NOC screen in its own window, for a second display 2026-11-04 20:01:37 +11:00
i18n.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
intern-optics.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
intern-ports.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
islands-and-arctic.test.js Fiber over land inside one country; no circuits between the Koreas 2026-11-04 12:46:37 +00:00
issues.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
ix-downgrade.test.js Follow-ups to #276, #277 and #278 2026-11-04 08:11:03 +01:00
keyboard-shortcuts.test.js Merge branch 'pr270b' 2026-11-03 12:10:19 +01:00
language-picker.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
latency-offers.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
latency.test.js Latency test: no padding is zero however the DOM spells it 2026-11-05 20:25:23 +01:00
levels.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
link-metrics.test.js Put a link on standby; the routing metric stays per city pair (#122) 2026-10-28 07:11:47 +01:00
link-preconditions.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
link-trial.test.js Redundancy check routes once, against the live routing (#62) 2026-10-28 19:47:19 +01:00
load-time.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
map-2d-sprite-budget.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
map-2d.test.js fix(map): drop the last network's floaters when another one starts 2026-11-05 21:40:13 +01:00
mcp-commands.test.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
mcp-http.test.js MCP server on the official SDK, over stdio or HTTP 2026-11-03 16:18:38 -05:00
mcp-parity.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
mcp.test.js Agent mode: an AI agent plays in the player's own tab, with the agent's clock or a running one 2026-11-03 16:18:43 -05:00
metric-panel.test.js Custom metric panel updates on Safari after switching multiplier and cost (#131) 2026-10-28 19:38:55 +01:00
modes.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
more-cables.test.js Subsea cables stay at sea: fix the date-line wrap and routes across land (#183) 2026-10-28 06:17:39 +01:00
moscow-premium.test.js China Telecomet's premium crossing in Moscow, at the Hong Kong price (#195) 2026-10-28 14:13:15 +01:00
net.js Tests wait for state instead of sleeping, on free ports 2026-11-05 11:38:26 +01:00
networks-list.test.js The Networks list shows 100 networks at a time 2026-10-29 11:13:59 +01:00
new-game-speed.test.js Save slots: several networks per browser, one per window, with a cross-window guard 2026-10-28 20:52:47 +01:00
noc-window.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
north-america.test.js Every US state capital, Washington DC, Canada's capitals and Greenland 2026-11-03 17:57:27 +01:00
optic-counts.test.js A fiber given up keeps its optics: they go on the spares shelf (#229) 2026-10-31 07:15:35 +01:00
optic-ports.test.js A 1.6T transponder takes two ports on 800G routers, one per 800G client (#256) 2026-11-01 19:02:06 +01:00
own-asn.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
pages.test.js MCP: the agent facade moves into src/agent/, assembled into the development page only 2026-11-03 16:18:38 -05:00
peering-desk.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
peering.test.js Connections overview prices 400G cache boxes right; tests pin 100G boxes where they mean them 2026-11-01 12:06:20 +01:00
perf.test.js Split the game page into partials under src/, assembled into one index.html at build 2026-10-27 10:05:56 +01:00
persist.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
philippines.test.js Philippines: Cebu and Davao get connectivity estimates, RISE & Shine stays off the Pacific route, W44 par 2026-10-31 15:00:26 +01:00
pni-all.test.js Bulk PNI test fills the ports now that caches share them (#252) 2026-11-01 11:32:29 +01:00
pni-global.test.js Backbone technology: plain IGP, LDP, RSVP-TE, SR-MPLS, SRv6; two new RSVP-TE routers 2026-10-31 08:27:31 +01:00
pni-list.test.js PNI list: tests and changelog (#175, #172) 2026-10-29 19:07:44 +01:00
pnis-and-sold-out.test.js Sold-out wave sizes can't be reached by upgrading a smaller wave (#201) 2026-10-30 18:21:14 +01:00
pop-standard.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
puzzle-monkey.test.js Puzzles: the chaos monkey acts out the N-1 star in every puzzle 2026-10-30 12:24:53 +01:00
puzzle-sheet.test.js Puzzles on phones: fixed overlays that never scroll 2026-11-05 17:18:50 +01:00
puzzles-phone.test.js Puzzles on phones: fixed overlays that never scroll 2026-11-05 17:18:50 +01:00
puzzles.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
regions.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
release-story.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
report-link.test.js Test the menu's small GitHub and chat links 2026-10-29 21:40:19 +01:00
route-cache.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
route-fuzz.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
route-server-peers.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
route-skip.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
route-worker.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
router-art.test.js Routers: the picture in the POP overview's header, left of the city name 2026-10-30 15:48:49 +01:00
routers-per-pop.test.js Allow up to 16 routers per POP, with a cage extension past six (#157) 2026-10-27 18:48:58 +01:00
routing-modal.test.js Fit the left tabs on small screens; move routing settings into a modal 2026-11-03 10:20:57 +01:00
routing-reference.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
rules-locked.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
rules.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
sales-desk.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
sales-trial.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
save-size.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
save-slots.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
save-text.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
scenarios-playtest.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
sea-optic-hint.test.js A plug-in optic too short for a subsea cable is no longer sent to upgrades that cannot stretch it (closes #253) 2026-11-01 23:03:47 +11:00
sea-routing.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
sea-rush.test.js Pay to hurry the permits and factory of your own subsea cable (closes #258) 2026-11-03 10:35:16 +00:00
services.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
ship-clearance.test.js Zoom in twice as far; ships at anchor keep clear of their port 2026-11-04 11:54:31 +00:00
specialist.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
speed.test.js fix(map): drop the last network's floaters when another one starts 2026-11-05 21:40:13 +01:00
standing-orders.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
subsea-upgrade-timing.test.js Alien waves priced against their fiber; crews halve a build at most (#203) 2026-11-05 06:50:25 +00:00
supply.test.js Supply chain: hardware prices drift up, shortages come and go, spares and price locks 2026-10-27 09:25:47 +01:00
sweden.test.js Sweden beyond Stockholm: Gothenburg, Malmö and Haparanda (closes #206) 2026-11-05 07:31:17 +01:00
tier1-cone.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
tier1-incumbents.test.js Doitsche Telekomm and Tangerine Telecom are Tier 1s (#194) 2026-11-01 12:23:33 +00:00
traceroute-modes.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
traceroute.test.js Show the cache hop in traceroute only when a cache is the exit 2026-11-03 08:32:00 +00:00
unbuilt-pops.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
useless-subsea-upgrades.test.js Submarine upgrades that change nothing on a cable can't be bought (#198) 2026-10-29 01:57:32 +00:00
utilities-caches.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
utilities.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-coast.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-context-restore.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-frame-garbage.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-line-joins.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-map.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-out-of-memory.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-sprites.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
webgl-zoom-sprites.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
weekly-architect.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
weekly-puzzle.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
weekly-scenario.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
where-things-happen.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00
world-layer-firefox.test.js Fix CodeQL code-scanning alerts 2026-11-05 21:24:26 +01:00