DrawMixin (frame, chrome, overlays, run), OperatorMixin (station commands
shared by keys and Remote Crew) and PicturesMixin (OPZ/ELOKA pictures, plot
layer, weather and SimLog) leave game.py at 700 lines of composition root.
Tests patch module-level names where they are now looked up; Game keeps the
re-exports tests import.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- Remote Crew roles "uboot" (command) and "uboot_sonar" bind the living
hostile submarine with the smallest id; the binding is transient (never
saved) and hands the boat back to the AI on release, load or reset.
- Manual Sub mode: course/speed/depth orders within the physics limits,
checked fire (arc, tubes, stores), decoy, active ping, emergency blow.
- SonarStation extracts the operator state; the boat gets its own full
sonar workstation (observer adapter, frigate acoustic source), audio
stream and projections with the frigate's shape, without towed array.
- Options page 2 chooses the uConsole side (frigate default, never saved;
only outside a mission); --play-sub for one launch.
- uConsole U-boat command station in the Bridge layout: shared chart
geography with the boat, its contacts and own torpedoes, threat bar,
Navigation (water column) and Weapons & contacts pages, boat log and
telemetry in the configured bottom band; chart zoom/follow/drag.
- Web: the boat's own torpedoes on the U-boat chart (own_weapons).
- Sonar view reads the active workstation's observer, never the frigate
truth, while the boat's sonar is shown.
- Tests: determinism with equal entity-id starts, truth guard while
drawing, chart/page controls, schema with own_weapons, web-host rooms
hold the nine frigate stations only. Manual EN/DE and help updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sonar echo:
- Every active return is audible when it arrives, after the two-way travel
time the simulation already models (ship sonar, dipping sonar, wrecks).
CW returns are a smeared carrier tone, LFM returns a short 100 Hz sweep;
the pulse is the one the ping was sent with (audio-only memory, never
saved), loudness follows the measured echo SNR and faint returns sit in
reverberation hiss. The ping bus queues an echo behind a busy sound.
- Browser cues sonar_echo_cw/_lfm (+ _faint) with matching synthesis.
HQ intelligence:
- New start-report setting: coarse (bearing/range, as before) or exact
(every hostile unit type with count and expected air-raid waves, analyser
names). Patrol is exact, Double hunt and Nuclear intercept coarse, the
free hunt chooses on its difficulty screen. Kept out of the saved
difficulty set, so saves stay exact v14.
Remote Crew behind an HTTPS proxy:
- The local game accepts --public-origin https://... (crew and solo): the
F9 listener then answers on its LAN URL and on exactly that proxy host
(passed through, rewritten to the upstream, or with :443) and origin;
cookies are Secure only on the HTTPS path. Without the option nothing
changes; a proxy with its own host name still gets 403. F9 and the solo
screen show both addresses. Header values may contain HTAB.
- Checked end to end with Chromium through a TLS proxy: crew and solo,
direct and proxied, pair and reach the live station view.
- docs/web-host.de.md: local proxy section; no pause and saves v14 (the
page still claimed a host-absence pause and v10).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Previously uncommitted work: the game always runs in real time (no pause
or time acceleration), web client fixes (plot smoothing, spectrum peak
labels shared with the uConsole), regenerated contact-analysis images,
docs and manual updates.
UI/realism review, phase 1 (no truth leaks):
- Sonar CIC domain follows only the operator classification; new TORPEDO class.
- Torpedo alarm from intercepts only (launch transient, HF seeker pulses),
used by Bridge, Autocrew and the web Bridge threat block.
- ASM cue from measured speed/altitude or a jamming strobe; CIWS/ESSM/ECM
resolve missiles through their own M- tracks.
- HFDF fixes publish no domain; lookout domain needs recognition.
- No "hostile ping"/"submarine sunk" reports: breaking-up noises on a
bearing; score only in the debrief.
- Helicopter layer shown only after the dome passed it; web Bridge gets
published rows only.
Phase 2 (uConsole screen and text):
- Status ticker (default) frees 158 px; F11 event log/telemetry overlay
(display only); docked band selectable in the options.
- Layout helpers fall back to catalog abbreviations (<key>.short) before
any ellipsis; feed wraps, ticker scrolls; zero truncations EN/DE.
- Localised telemetry and OPZ affiliation/domain codes, bounded map labels.
Web: role map and chart draw NATO affiliation frames with domain glyphs.
Tests: truth boundary, text fit, session-wide preferences isolation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>