Commit Graph
17 Commits
Author SHA1 Message Date
Claude 2be94a995b Server mode docs, release 1.3.186, lobby without the role rail
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 18:01:57 +00:00
Claude 07e4d3a472 Server mode: the uConsole only serves, a browser leads the lobby
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FAtYM9hM9KgyoXFg5S6RnP
2026-10-03 17:53:26 +00:00
Claude 13d8997771 Fix browser and cache flakes: real-time page probes, host command after side switch, pure ray caches
- Browser tests that drive a live host (uboot nav, console, observer
  timeline, bridge glasses, map hover) ran under Chromium virtual time, which
  races ahead of the Python host and hits the wall cap under load. They now
  run in real time and read the probe result over DevTools (RealTimeHost).
- Direct-fire sweep check: a pending ResizeObserver redraw could land after
  the "settled" sample; the probe now waits until the canvas backing store
  matches its layout size and stays put.
- Remote Crew host form: after a side switch the new-game / own-mission
  command was dropped silently or sent with a stale host view; it is now
  sent once the console's host view matches its new world session.
- raytrace: convergence-zone and ray-picture caches computed their result
  from the unrounded arguments of the first caller, so results depended on
  call order. They now compute from the quantized key alone (regression test
  added; calibrate 77/77 in tolerance).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 23:22:15 +00:00
Claude d4dd54e330 Start menu: scrolling mission lists instead of a fixed list that ran into the footer
The scenario list grew to 13 rows per side and its last rows were drawn over
the world and seed lines. The scenario, own-mission, difficulty and lesson
lists now show a bounded window in a panel with a scroll bar that follows
the selection (Up/Down, wheel, PgUp/PgDn, Home/End), with the start of the
selected scenario's briefing below. Centred menu lines shrink to the screen
width, the logbook keeps clear of the sector hint, and the browser names the
free patrol in the new-game list instead of "unknown". A layout test checks
every start-menu page for overlapping or off-screen lines.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TBTN1D3wXaBi9NtJQapCXJ
2026-10-02 15:31:09 +00:00
Claude 87ccee7059 Group hunt: a commanded consort destroyer in two new scenarios (save v46)
Scenarios s21 (frigate) and s22 (submarine) put a destroyer beside the
frigate. OPZ page 4 and the Remote Crew OPZ order it (formation station,
search, prosecute, hold, auto, active sonar, weapons free, ASROC). Its
sonar reaches the frigate only as CONSORT fixes and bearing lines. Own
torpedo seekers never home on it. Save v46 adds the root key "consort"
with a migration step and frozen v45 samples. Also documents crew versus
crew in the coop guide.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FVKHiKUKiVW4YEnEF6d99N
2026-10-01 17:03:08 +00:00
db9979andClaude Opus 5.5 bf53a2418e Ten new scenarios: six for the frigate, four for the U-boat (1.3.134) (#125)
* WIP: scenarios 11-20 frame, save v45

* WIP: scenarios 11-20 lists, tests, fixes

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

* Scenarios 11-20: tuning, manual, release notes 1.3.133

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

* Scenarios 11-20: fairness tuning (trail, rescue, RAS, duel, homecoming), docs

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

* Scenarios 11-20: web scenario list bound 32, tests for 1.3.134

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GHVLKCa8ASEqrgMzpHu6EU

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-01 15:14:46 +02:00
Claude e102926625 Web: own missions dialog and Mission Planner for the solo host
The solo browser lists the uConsole's own missions, downloads them as
share files, uploads files, edits or plans missions on a sector map and
starts them; the New game dialog offers own missions too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012UHht4zQhR5DrwQWsj4uRM
2026-10-01 08:58:28 +00:00
Claude d5ba0a5587 Short missions: a 30-60 minute variant of every fixed scenario (1.3.131)
A "length" start choice (briefing, campaign, lobby, web host new game)
starts a scenario with its mission type's short_time_limit_s, hostile
submarines nearer and a boat mission's start distances scaled
(short_spawn_nm/short_scale per type). The shorter time limit is saved, so
a loaded mission knows it is short; no save format change. Tuned with the
AI-against-AI fairness harness: frigate wins 24 of 54 runs (seeds 1-6).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 07:26:48 +00:00
Claude 81c538e5e6 List scenarios by the side the player chose (1.3.126)
After choosing frigate or submarine, the uConsole scenario menu, the
multiplayer lobby and the browser New game dialog list only that side's
scenarios. The '(U-Boot)'/'(submarine)' title suffixes are dropped; Esc in
the scenario list returns to the side choice.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186HTaxcpzw21KdLa2xgUHu
2026-10-01 05:47:01 +00:00
Claude fe1907399d WIP: strait, swimmers and supply escort missions 2026-09-30 21:20:57 +00:00
Claude bf5a5957a5 Choose the weather and time of day of a mission (1.3.118)
Briefings, the campaign screen, the lobby and the browser's new-game
dialog pick weather (random, fair, rain, storm, fog) and time of day; a
chosen weather holds the mission with its sea in the kind's band.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
2026-09-30 18:33:44 +00:00
Claude 6cc074d76f Multiplayer lobby with ready ticks and a shared start (1.3.101)
A new main-menu entry "Multiplayer" opens a lobby: Remote Crew starts in
crew mode by itself, the uConsole shows QR code, address and join code,
the players with their stations and ready ticks, and the host's mission,
unit and own station. Browsers see the same crew room above the station
cards and tick Ready. The host starts a five-second countdown every
browser sees; the mission then begins for all at once and the uConsole
opens on its lobby station. A mission started from the lobby returns
everyone to the lobby. Ready ticks and the lobby are transient.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 07:58:03 +00:00
Claude 5456182ee8 Add boat mission 7: convoy attack (1.3.15)
The frigate escorts four merchants; the crewed submarine wins by sinking
two. Only the crewed boat's torpedoes take a merchant, the AI frigate
keeps station ahead of the convoy and prosecutes contacts near it only.
The convoy is remembered in mission_units, so saves stay v23.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 10:29:52 +00:00
Claude c7ac6abb94 Boat missions: breakthrough and reconnaissance (1.3.14)
Scenarios 5 and 6 give the submarine the objective. Breakthrough: reach a
goal area about 10 NM beyond the frigate's patrol position (derived from the
saved boat start, no new save state). Reconnaissance: radio a situation
report while the frigate is among the periscope sightings. The frigate wins
by sinking the boat or holding out to the time limit. The boat's orders show
over its chart (goal marked) and as the browser's boat mission line.

Manual EN/DE, changelog, README, shortcut sheet and manual PDFs updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 10:19:44 +00:00
Claude b813115069 Start screen, animated silhouettes, web solo side choice (1.3.6)
The start screen becomes an animated night hunt: the frigate F-217 with
turning radar, funnel smoke, bow wave and towed array, the helicopter with
its dipping sonar, and a submarine below the layer that lights up when the
hull sonar pulse reaches it; the title carries "by Dominik Bornhäußer" and
the version. The same scene, dimmed, lies behind the main menu. A shared
silhouette library (src/ui/silhouettes.py) draws detailed class profiles
that pitch, turn radar and rotors and trail a wake; the periscope and the
bridge binoculars use it. In Remote Crew solo mode the New Game dialog now
picks the side (frigate or submarine). Station shortcuts, manual PDFs and
the contact-analysis images are regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 08:10:28 +00:00
db9979andClaude Opus 5.5 4d2500fceb Side choice: a new game asks which unit to play; solo can play the boat
The uConsole asks "Which unit do you play?" before every new game
(frigate or hostile submarine, last choice preselected). The browser
lobby first shows the unit, then its stations. A solo browser switches
all its stations to the boat's six (and back) from the host bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 18:52:15 +02:00
db9979andClaude Opus 5.5 4dd23bc242 Web client: CIC redesign with ES modules and bundled fonts
- Remote Crew browser client rebuilt as a dark combat-information-centre layout
  for large desktop monitors: slim status bar (stations, mission, clocks, UTC,
  link state), pulsing alert band, the instrument as centrepiece and
  collapsible docks (contacts, station, contact detail, log drawer; keys , . L).
  Four columns from 2400 px, fluid type up to 4K; guide, lookout and contact
  library open as overlays (Esc closes).
- app.js split into native ES modules under data/commander/js; the transport
  (net/*) no longer touches the DOM and talks to the views through synchronous
  topics (core/events.js, app/bindings.js); redraws share one frame scheduler.
- style.css replaced by a token-based design system in data/commander/css.
- Inter 4.1 and JetBrains Mono 2.304 bundled unmodified (OFL-1.1) with
  provenance in THIRD_PARTY_NOTICES.md; CSP allows font-src 'self'.
- Server serves the css/js/fonts trees from one asset manifest
  (src/commander/assets.py); packaging, capture tool, help, manual and docs
  updated; tests share tests/commander_web.py and import modules directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 12:02:01 +02:00