Commit Graph
129 Commits
Author SHA1 Message Date
Claude 101da89fa0 Release 1.3.36: chart zoom down to 0.5 NM
Q/E step through fixed chart heights (500 ... 0.5 NM) on the bridge,
weapons, helicopter and submarine charts; the wheel zooms smoothly to
0.5 NM and the OPZ chart to a 0.25 NM radius. The grid gets finer with
zoom (down to 0.1 NM), the scale line shows fractions, land polygons are
clipped to the chart and invisible radar rings are skipped.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177tEqz38BHhHgw53oMDN6r
2026-09-28 16:50:23 +00:00
Claude 58d07ff1e9 Release 1.3.35: less text on the uConsole
Trim the LOFAR/DEMON rail hints that repeat the key row, bump the
version, changelog and README, and regenerate the manual PDFs, the
station shortcut sheet and the screenshots.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013avduxLno5MbDHZbRz1ggf
2026-09-28 16:37:07 +00:00
Claude 59f1f57843 uConsole: less text on the station screens
Sonar: drop the header status chips and legend lines, one row of four
main keys, TAS/VDS state only while it matters. Top bars show station
and clock only, the chart header only its scale. The submarine's threat
box shows only fresh threats (a triangle marks stale ones). Degrees as
°, whole-degree courses, turn radius only while turning. Fix the TMA
header overlap and the truncated submarine tab, tube and alarm lines.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013avduxLno5MbDHZbRz1ggf
2026-09-28 16:24:05 +00:00
Claude f9ba52028a Submarine ESM: measure each radar's scan period (1.3.33)
The crewed submarine's ESM times each emitter's main-beam hits (level
peaks of its own waveform, over gaps up to 12 s without a washed scan)
and reads a rotating search radar with its period or a steady
tracking/fire-control beam. A steady live beam is always a mast warning
and is logged once. uConsole Mast & ESM detail shows the reading (two
columns so every row fits), the browser adds a scan-period row. Save
format v27 adds crew.esm emitter last_peak (crew.esm version 2).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 15:43:22 +00:00
Claude 88ac554a7b Directional hearing: pan detonations, echoes and pings by bearing (1.3.32)
Detonations, returning echoes and foreign active pings are placed left or
right of the frigate's or the crewed submarine's head from their measured
bearing, on the uConsole mixer and in the browser (StereoPannerNode). The
frigate also plays a submarine's ping, and the crewed submarine hears a
hunter's ping on its hull. Sound cue rows carry a quantized pan.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 15:28:03 +00:00
Claude e027d06ddd Crewed submarine: load tubes one by one, flood before firing (1.3.31)
The crew loads each empty tube from the racks (M / browser Load) and
floods a loaded tube before it fires (Shift+M / browser Flood, 20 s,
audible for 4 s). Submarines now carry as many reloads again as tubes
with 2-4 min reloads; AI submarines keep reloading by themselves.
Save format v26 adds crew.orders.tubes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 14:58:33 +00:00
Claude 480478dcb0 Merge main; AI mission submarine in the new wording
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 14:08:12 +00:00
Claude 5e1195dacc AI mission boat pursues the boat missions' objectives
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 14:07:36 +00:00
Claude 6149428b7c Call the submarine a submarine (U-Boot) in every visible text; release 1.3.29
Player-facing texts that called the submarine just "boat" (Boot) now say
"submarine" (U-Boot): uConsole screens, web clients, help, manual EN/DE,
README and co-op docs, e.g. "Submarine campaign" / "U-Boot-Kampagne".
Internal identifiers, JSON keys and the v25 save format are unchanged.
Regenerated manual export and PDFs and README screenshots.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H3p6pUZfvAB3r6mhet2wQk
2026-09-28 13:59:15 +00:00
Claude b9d8d02d15 AI hunters correlate radar, HF/DF and HQ datums and pass ASROC shots; release 1.3.28
The OPZ marks bare mast blips; mast tracks, HF/DF cross-fixes and HQ datum
reports feed the hunt's datum, and a fresh own-sensor fix goes over the
datalink to a friendly AI warship with ASROC in range. Radar blips and marks
are saved (save v25, radar_marks).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 13:35:32 +00:00
Claude a531db7ae4 Boat ESM library sorted by fit (1.3.25)
Library candidates are graded good/fair/poor by how the measurement sits
in the published frequency and PRF ranges and whether the modulation
matches, listed best grade first and by key within a grade; uConsole and
browser show the grade.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:51:32 +00:00
Claude 1a5462e4d2 Merge main; release 1.3.24
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:36:09 +00:00
Claude 7fc3fac809 Merge main into the overlay branch; release 1.3.23
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:27:30 +00:00
Claude 3819b9ce90 Merge main into the overlay branch; release 1.3.22
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:26:46 +00:00
Claude 8d99f2b4d0 Merge main (overlay 1.3.21); stream fix becomes 1.3.22
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XUBGQzKG1jnToU9vYPfwo
2026-09-28 12:23:22 +00:00
Claude 28cdbe6c03 Boat atmosphere: hull creaks, heard detonations, red light in silent running (1.3.22)
The crewed boat hears its hull creak deep down and crack when it fails,
hears detonations close aboard or far off (logged with a bearing), and
rigs its uConsole and browser screens for red light in silent running.
The boat's browsers get its own cues; the SAR alarm cue is now known to
the browser.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:19:22 +00:00
Claude 0df8cef5b8 Merge remote-tracking branch 'origin/main' into overlays 2026-09-28 12:07:47 +00:00
Claude e127c27b10 Draw every overlay over the start screen's night scene
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 12:07:46 +00:00
Claude a683a2661f Crewed boat may dive below test depth at the risk of hull failures (1.3.21)
Below test depth bolts shear, seals fail and the pressure hull cracks,
more often and worse the deeper the boat goes; crush depth collapses it.
Depth ladders mark the crush depth and a red alarm shows the overdepth.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:02:15 +00:00
Claude 3989b85b12 Merge main (attack computer 1.3.20); stream fix becomes 1.3.21
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XUBGQzKG1jnToU9vYPfwo
2026-09-28 11:54:58 +00:00
Claude 213016dbe3 Stabilize the flaky audio/sonar websocket and browser tests (1.3.19)
- Server: a reconnecting client supersedes its own idle audio or sonar
  stream instead of getting 409 stream_exists while the old worker has not
  yet noticed the dead socket (root cause of the flaky
  test_audio_websocket_resumes_behind_the_browser_cursor). Regression tests
  fail on the old code.
- Web client: a push-woken poll clears the pending poll timer, so a healthy
  push no longer adds a /state request per pushed state.
- Browser tests for live audio and the state push run in real time
  (RealTimeHost: wall-clock sim steps via Game._frame_dt, DevTools reads
  off-thread) instead of fixed steps or --virtual-time-budget.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017XUBGQzKG1jnToU9vYPfwo
2026-09-28 11:41:50 +00:00
Claude 67230c6035 Add the periscope attack computer (1.3.19, save v24)
Every stadimeter reading becomes a mark; a straight-line fit through two
or more marks a minute apart gives the target's course and speed, the lead
angle and the running time. Ctrl+Enter on the periscope page (browser:
Fire on solution) fires on the intercept course, and a shot at a marked
sonar contact uses the solution too. The marks are saved in
crew.orders.tdc, so saves move to v24.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 11:33:56 +00:00
Claude d95e9bf8b8 Merge main (boat campaign 1.3.16); Windows update fix becomes 1.3.17
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:51:02 +00:00
Claude 1168b9170a Merge main (convoy attack 1.3.15); Windows update fix becomes 1.3.16
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:48:05 +00:00
Claude 6276242b54 Add the boat campaign (1.3.16)
Five linked boat missions in one sea area, chosen with Tab on the campaign
screen. The boat carries its torpedoes, hull damage and standing with
U-boat command between missions; at its base a full refit or a quick
turnaround. Kept in its own boat_campaign.json; 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:35:55 +00:00
Claude 78864ba005 Merge main (boat missions 1.3.14); Windows update fix becomes 1.3.15
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:30:24 +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 2e8afa7279 Windows self-update restarts cleanly; starter links Buy me a coffee (1.3.14)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 10:21:38 +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 1643720df9 Windows program: starter, Remote Crew autostart and self-update (1.3.9)
U-Jagd-Windows.exe (PyInstaller) opens a starter window that launches the
game with Remote Crew already listening on the PC's private LAN address
(crew or solo mode, optionally as the submarine), shows URL, join code and
QR code, and offers newer GitHub releases (size and SHA-256 checked,
self-replacing). The game gains --remote-crew and --status-file, and finds
its LAN address without Linux ioctls through the routing table. A workflow
builds and self-tests the program on windows-latest for every push and PR
and publishes release v<APP_VERSION> on main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 09:28:30 +00:00
Claude 88f5132f22 Support link, guides brought up to date (1.3.8)
Support: a QR code of buymeacoffee.com/zquu1xu570 in the uConsole main
menu (src/ui/support.py, rows generated offline by
tools/gen_support_qr.py), a small link on the Remote Crew pairing, lobby
and settings screens and the web-host admin page (never inside
#operations), .github/FUNDING.yml and a badge and Support section in both
READMEs.

Guides: the reference chapter lists 31 kn, VDS +/-4 deg and a VDS glossary
entry and how a solo browser picks the submarine; the READMEs list the VDS
keys and the mission editor's actual runtime subset (the DE README gets its
missing 1.3.1 paragraph and current versions); the co-op, protocol and
web-host guides cover the solo side choice, the seven submarine roles,
sonar_set_vds_depth and the admin shutdown; help strings say submarine
crew 1-7 and that a lowered VDS listens in parallel. Manual, shortcuts and
manual PDFs regenerated. Saves stay v23.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 09:08:13 +00:00
Claude 8c7fb95f4b F-217 at 31 kn, web admin "End game now" (1.3.7)
The frigate's top speed (FLANK) is its real 31 kn. The brake power is
scaled so drag, acceleration and turning up to 25 kn are unchanged; own
noise and wake keep their 1.0.0 scale below 25 kn and only grow further
up to 31 kn. The Nixie's cable still parts above 25 kn.

The web-host admin page gets an "End game now" card: after a confirmation
the main thread ends the game process after a short grace period, so a
web-hosted game does not keep running in the background.

Manual, station shortcuts and manual PDFs regenerated. Saves stay v23.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 08:47:34 +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
Claude 27af5e7f65 Merge origin/main (VDS, 1.3.4) into the AI hunters; bump to 1.3.5
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 07:36:53 +00:00
Claude 8d62898608 AI hunters: frigate, helicopter and patrol aircraft hunt the crewed boat (1.3.4)
When nobody sails the frigate (uConsole on the boat side or a solo browser
playing the submarine), src/core/hunter.py crews every frigate station no
browser holds: library-based submarine classification, a datum from sonar
fixes and HF/DF, search/close/crossing courses, pings, helicopter dipping and
torpedo drops, patrol aircraft buoys and attack, ship torpedoes. It reads
only the frigate's observations and keeps no state, so saves stay v22.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 07:31:33 +00:00
Claude 747feff0fd Sonar: variable-depth sonar (VDS) as a third array (1.3.4, save v23)
The frigate gets a towed body that is lowered and recovered with Shift+Y
(3-15 kn, sea state up to 5, lost above 24 kn) and set to 20-300 m with
U/V while it is the selected array. It listens and pings from its own
depth, so below the layer it gains the deep bonus the hull array lacks,
and fusion takes the better of hull and VDS as the unambiguous reference
for the towed array's side. Remote Crew sonar gets the deploy button, the
depth form and the VDS array option. Saves move to v23 for the VDS state;
calibration stays 77/77.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 07:15:23 +00:00
Claude 9f6264940d Web client: paint waterfalls in an OffscreenCanvas worker (1.3.3)
Heatmap rasters (LOFAR/BTR/DEMON waterfalls) are packed into typed-array
jobs and painted by a module worker into an OffscreenCanvas, which hands
back an ImageBitmap. The main thread keeps drawing the previous bitmap at
its anchor until the new one arrives, keeps one job in flight per plot and
falls back to the shared synchronous painter when Worker/OffscreenCanvas
is missing or the worker fails. Headless Chrome stays on the synchronous
path unless opted in, because workers stall its virtual time.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 06:49:07 +00:00
Claude a989ac87c7 Mission editor: pick the reference sector from a list (1.3.2)
The World tab's Kind and Reference rows are now closed choices: Enter
opens a pick list (FieldRow.choices in the shared FieldList) instead of
free text. Reference lists the 128 packaged sectors with their countries;
picking one makes the world a 500 NM reference world. The preview draws
the chosen sector's coast from a once-per-process sector cache.

Closes the Phase 13 deviation "text field instead of sector selection".
App 1.3.2, saves stay v22. EN/DE catalog, manual and README updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AS36Eg72iLviiSVbCUVNAi
2026-09-28 06:03:19 +00:00
Claude 5c8c191aea Radio room for the crewed boat, aircraft radars in the boat ESM (1.3.1)
- New seventh boat station uboot_radio (uConsole key 7, browser role):
  HQ broadcast every 10 min with a contact report on the frigate, copied
  with the mast up at periscope depth; situation reports go out on HF for
  20 s and can be borne by the frigate's HF/DF; radio log saved.
- Catalog emitters for the helicopter and patrol-aircraft search radars;
  the boat's ESM hears them (helicopter airborne and not dipping, MPA with
  its radar on).
- Save format v22 (crew.radio), app version 1.3.1; help, manual EN/DE,
  web schema and plan updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 04:54:42 +00:00
Claude 5e91871707 Translate the double hunt's loss line in the scenario menu
The menu showed the raw key "scenario.double.lose" because the catalog
had no entry for it. Adds it in English and German and a test that every
scenario goal/loss line the menu draws is in both catalogs.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 04:11:48 +00:00
Claude dcae316dcb U-boat: threat picture, evasion, boat debrief, speech and lessons
- Counter-detection picture from the boat's own measurements: hull,
  dipping and buoy pings with received level, buoy splashes, torpedo
  alarms; Threat page (Command 4, Navigation 2), browser card, chart rays.
- Evasion order (key I, uboot_evade action): stern to the pinger or
  torpedo on the quarter, layer crossing, silent running or decoy.
- Boat debrief (own track, frigate truth, pings taken, spans the frigate
  held the boat), boat outcomes (won, escaped, survived, trained, lost).
- Spoken crew reports from the boat's log when the uConsole plays it.
- Two boat training lessons with a scripted pinging frigate.
- Fix stale browser session fixtures (callouts, mpa, crew).

Save stays exact v21; all new boat state is transient.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 21:05:00 +00:00
Claude b7c5697112 Add spoken crew reports on the uConsole (espeak-ng) and in Remote Crew browsers
Important feed events (torpedo in the water, new contact, breaking-up
noises, torpedo away, hit, action stations, patrol aircraft on station,
mission result) become transient callouts with bearings spoken digit by
digit. The uConsole speaks through an installed espeak-ng behind a new
option (off by default, silent without espeak); browsers get the
callouts in the common audio block and speak them with SpeechSynthesis
in their own language behind a per-viewer switch. Frigate roles only.

Also moves the main-menu test indices past the new Training and
Campaign entries.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 20:03:15 +00:00
Claude 0f6aac5c89 Add guided training lessons and a six-mission campaign
Training (main menu): four lessons run as authored missions with a hint
banner whose steps advance on the player's own actions; the coach needs no
saved state. Campaign (main menu): six linked missions in one sea area
carrying torpedoes, damage, a lost helicopter and HQ standing, with a port
call between missions, kept in its own campaign.json beside the slots.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 19:43:55 +00:00
Claude 5fefbdd513 Add the post-mission debrief with a truth-versus-knowledge replay
After the mission ends, D on the end panel opens a debrief page: a
timeline of the recorded mission with the true tracks beside the crew's
contacts, headline numbers (first contact, fix, classification, fix
error, shots, sinkings) and automatic events including missed chances
(a hostile boat within 4 NM for 5 min without contact, above or below
the layer). The recording is bounded, read-only and never saved.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 19:37:37 +00:00
Claude 631a284f9e Add the on-call maritime patrol aircraft (OPZ page 3)
A patrol aircraft from the nearest friendly airfield: the OPZ requests it,
sets its search area (selected track or chart click), plans buoy patterns,
drops buoys, switches its surface-search radar and releases a torpedo on the
designated contact. It reports only by datalink: RADAR-MPA tracks and its
buoys while it relays them. Remote Crew OPZ gets the same orders; save v21
adds the aircraft and each buoy's owner.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 19:20:17 +00:00
Claude c1946eb75f Add crew watches, fatigue, action stations and morale
Frigate and crewed boat stand three watches relieved every hour of game
time. Action stations make the crew more alert but tire everybody;
morale moves with kills, damage and HQ tasks. The crew's performance
raises the sonar recognition threshold, needs more lookout/periscope
contrast and slows damage-control work. A fresh crew is exactly the
calibrated crew (77/77 metrics unchanged). Damage page 3, Bridge G,
boat keys B/M, Remote Crew cards and orders, save v21 "watch" and
crew.watch.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 17:20:08 +00:00
Claude de0a9e7497 Add HQ radio tasks: distress calls, identification, datums, replenishment, EMCON
HQ offers up to six tasks per built-in mission over the teletype. The
radio room (and the Remote Crew radio station) accepts or declines them;
accepted positions are plotted on every chart. Tasks progress on the
slow simulation cadence with detrand draws, are scored at mission end
and are saved in the new save v21 root field "tasking".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-27 16:51:35 +00:00
Claude 3d7df84681 Crewed boat: damage control with compartments and two teams (stage D)
Six compartments with depth-dependent leaks, spill through open
bulkheads, fire, chlorine gas from a flooded battery and power loss; two
damage-control teams seal, pump and fight fire; shut bulkheads contain
water, fire and gas. Floodwater feeds the trim model; flooded, burning or
gassed compartments take out the tubes, masts, diesels or half the speed.
Damage page on the uConsole engine room, damage-control card in the web
station. Save format v20.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 14:58:44 +00:00
Claude 020c7c95aa Crewed boat: ballast tanks, trim and high-pressure air (stage C)
Main ballast, regulating and trim tanks with fill levels; an HP air store
for several blows, refilled while snorkelling; torpedo launches and flooding
shift weight and trim, pumps are audible. Tanks page on the uConsole engine
room, cross-section card in the web station. Save format v19.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 13:41:56 +00:00
Claude 86955542d4 uConsole boat: name every numeric entry in the input overlay
The overlay looked up "input.<mode>" and showed the raw key
(input.uboot_depth, input.uboot_course, ...) for all boat entries.
Adds the eight EN/DE labels and a regression test.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
2026-09-27 12:43:33 +00:00