Commit Graph
79 Commits
Author SHA1 Message Date
Claude f5388a4770 Stage 3a: three-column grid for sonar, OPZ and submarine weapons (1.3.177)
Sonar and OPZ get a contacts/tracks card column left, the main display
in the centre and details/controls right. The submarine weapons page
shows contact cards, a fire-control plate and the tube grid. Web
submarine depth canvas no longer overlaps its labels.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 11:07:35 +00:00
Claude faf45607b7 Merge main 1.3.175; stage 1 becomes 1.3.176, red light greys the colours
Under the red light every themed colour turns to its grey brightness
(uConsole palette and a generated web token block), so the new green
accent no longer goes almost black under the red multiply. README
screenshots, manual PDFs and the station shortcuts are regenerated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 09:32:15 +00:00
Claude 01158bf464 Colour themes: Tactical Night and Tactical Day with shared tokens (1.3.175)
One set of semantic colour tokens (src/ui/theme.py) drives the uConsole
and, generated into tokens.css, the Remote Crew browser. Night (default),
day (light, paper LOFARgram waterfall) and high contrast; a Dark/Light pill
in the top bar and the Options row switch it, red light forces night. The
theme is a preference only, saves stay v50. Panels are rounded with an
accent title mark, tabs are pills and key hints chips.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYDCcBWFmT4ipVCfJeKESR
2026-10-03 08:51:39 +00:00
Claude 7f5f2a523a Fix review findings: web observer, key leaks, sub drift, dead code, help texts (1.3.173)
- Remote Crew: observer admin action allowed, direct fire for U-boat weapons,
  U-boat station help texts and manual links, select controls not rebuilt
- Keys: Shift+A / Ctrl+R at Weapons never fire, Shift+A on the U-boat never
  toggles silent running
- Simulation: lurking submarine steers into the current, decoy speed units
  in the sonar Doppler term
- Remove dead functions, constants and imports found by the audit
- Help and catalog wording (Submarine/U-Boot, German grammar), shortcut sheets

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CW6FkwLLc6KvPHvCs5KTRo
2026-10-03 07:10:08 +00:00
Claude 5bf595d336 OPZ: richer chart and a Display page of settings (1.3.169)
Page 5 (Display) sets track trails, vector length, labels, a bearing
scale with the own course, range rings, bearing lines, furthest-on
circles, depths and grid, radar afterglow and the selected track's CPA.
Arrow keys or clicks set them, chips under the chart switch layers on
every page, and settings.json keeps them. The browser OPZ gets the same
buttons and drawing (trails from the chart history in the projection).
Display only.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TjEy6GJs4wG9N9DMGGNA9X
2026-10-03 05:02:44 +00:00
Claude 19b6d551f8 Merge origin/main (1.3.163) into the branch
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 22:28:04 +00:00
Claude 6b7b394a99 Click status lamps, key hints and readings to trigger their keys (1.3.163)
Status lamps, key hints in station text, page tabs, list rows and the
bottom status line readings now act on a mouse click on both sides, by
sending the same key event as the keyboard (fire stays clickable only at
the weapons station). The submarine's sonar takes clicks, the element
under the mouse gets a thin frame, and Remote Crew sonar, helicopter and
engine lamps press their buttons. Manual, help, shortcut sheet,
changelog and README updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017N4wRun1ibqyXWHJDrTqVv
2026-10-02 21:52:00 +00:00
Claude bde6304657 Soak: diagnose and keep saves that do not load; soak every scenario
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KBWAva5Bhs5KJy75vSJDRT
2026-10-02 21:13:11 +00:00
Claude 917226ee6a tools/bench_draw.py: headless frame-cost benchmark of every station on both sides
Times game.update and game.draw separately at each frigate station and each
boat station page (sonar room included), optionally with silent running
and a cProfile of one side's draws.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0155H3YRuWcMBKL8jqWWBEZn
2026-10-02 05:36:47 +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
Claude ced280cda0 Nightly soak test; fix loading a boat save with a selected contact (1.3.128)
tools/soak_game.py plays every scenario on both sides with a seeded random
operator, checks save/load continuation and memory; .github/workflows/soak.yml
runs it nightly and files an issue on failure. Its first run found that the
crewed boat's selected sonar contact was looked up by the wrong key on load.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:49:47 +00:00
Claude d6565fca00 Older saves load again: lift v38-v43 saves to v44 (1.3.127)
src/core/save_migrate.py lifts a save of format v38 (1.3.98) or newer step
by step to the current format; the strict validation and candidate restore
then run as for any save. Frozen samples written by the real releases of
each older format (tools/make_save_sample.py, catalog split off) are loaded
and played on by tests/test_save_migrate.py. The update notice warns about
saves only when the new release cannot lift them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:32:47 +00:00
Claude 138c373319 Fix two CI flakes: random incident in the snorkel test, host stalls in the audio soak
test_snorkel_valve_stops_charging_and_battery_gas_halves_it failed 5 of 40
runs: start_new_game() draws a fresh seed, so the random incident timer could
start another gas or valve incident at the gas's end time. The test now
counts only its explicit incidents.

The audio soak failed on 'mixer channel idle events: 1' after a 3 s first
frame on CI: the worker was starved, the gap was the host's. A dry channel
after a late iteration is now counted as channel_idle_late beside pump_late.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZwzQCC9YZ8AnWpA84yWwf
2026-10-01 05:24:37 +00:00
Claude 5f6c443920 Towed buoy antenna for the submarine (1.3.122, save v42)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
2026-09-30 20:43:35 +00:00
Claude 955fa9e0dd Smoke test: the custom difficulty now leads to the briefing
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017WNUMLgbMpcvSCHdNehwvh
2026-09-30 19:15:31 +00:00
Claude a7f7fa89a8 Show water columns, fire, smoke and sinkings in the eyepieces; moving chart marks
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017YR7xGwbpmkYJFGyiMJBvo
2026-09-30 16:09:26 +00:00
Claude 9a1258c3a1 1.3.113: full mouse control, chart history, label layout, merchant lanes
- uConsole fully playable by mouse: key-bar legends, station tabs, dials,
  numeric keypad, clickable menu/dialog rows, wheel and right-click cancel
- Charts draw own track, earlier contact positions and bearings (display only)
- Chart labels are placed without overlapping (uConsole and web)
- Cargo ships, tankers and passenger ships run lanes between ports and edge
  exits, give way under COLREG-style rules and flee nearby detonations
  (stateless, no save change)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JrUuYqTA8k76Uf572FDStg
2026-09-30 14:23:05 +00:00
Claude 3652ddf4ca Start straight into the game: --multiplayer flag, no Windows starter window
- main.py: one --multiplayer flag opens the multiplayer lobby after the
  splash, as the main-menu entry does; --remote-crew stays as a hidden
  alias, --solo-crew as a hidden advanced flag (the only way into solo
  mode); --play-sub and --status-file are removed.
- Windows: U-Jagd-Windows.exe runs main.main() directly (a leading --game
  is ignored), removes a stale <exe>.new first, passes the game's exit code
  through and runs update.launch_install on update.UPDATE_EXIT_CODE when a
  downloaded <exe>.new exists. The Tk starter (src/launcher/app.py), its
  GUI self-test, tests and all launcher.* catalog keys are gone; the
  PyInstaller spec excludes tkinter.
- CommanderConsole no longer writes a launcher status file.
- README usage sections, coop docs, manual (EN/DE) and AGENTS.md updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 11:27:57 +00:00
Claude 003308e70a Sonar stations in the console style (WIP): lamps, bearing rose, framed plots; helicopter sonar phosphor and dipping scope
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Mw8VFBVXLPPiwM3WU2r78D
2026-09-30 05:31:15 +00:00
Claude 352f62d358 Merge main (1.3.98, saves v38); release as 1.3.99
Also: a short Counterflood lamp label, and the direct-fire browser test
re-reads the damage canvas before each click, since the plan can resize
after a command result.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161qauFZojcsY5nBpnj1k1C
2026-09-29 21:53:01 +00:00
Claude 333b3f86f1 Merge main (1.3.89); renumber this branch's releases to 1.3.90-1.3.98
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ezHkjXB8fqbp1sWev2J9D
2026-09-29 21:05:12 +00:00
Claude 8bde45536c Damage screens as damage-control consoles (1.3.90)
uConsole frigate ship plan: water level, fire glow and wreck hatching in
the compartments, lamp cards with state/flood/fire LEDs, bars and team
badges, LED legend. Submarine Damage page: compartment mimic with LEDs
and team badges plus lamps for the selected compartment and power.
Browser Damage card: annunciator panel, side view of the ship and
list/trim/total gauges.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161qauFZojcsY5nBpnj1k1C
2026-09-29 20:22:31 +00:00
Claude 3a17e1e736 uConsole engine rooms as machinery control consoles (1.3.88)
Frigate: the telegraph becomes a column of lit steps beside a large speed
gauge, shaft RPM and noise gauges and plant lamps; the Systems page gets
an annunciator panel with a master lamp, the fuel bunker as a tank
column, roll/pitch/list gauges and a mimic of the ship's sections with
water level, LEDs and numbered team badges. Submarine: the Plant page
shows speed, battery (depth on a nuclear boat) and noise gauges with mode
lamps; Stores shows tank columns and endurance bars. The shared parts
live in src/ui/console.py (display only).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0161qauFZojcsY5nBpnj1k1C
2026-09-29 19:39:43 +00:00
Claude 4f6e5d36e5 Wounded crew per station with medical team and re-manning (save v38)
Hits, fire, flooding and gas wound people at the sonar, weapons and
damage-control stations of the frigate and every submarine; empty posts
slow recognition, reloading and repairs. Both sides send the medical
team and re-man the worst station from the resting watches; AI ships
re-man on their own.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ezHkjXB8fqbp1sWev2J9D
2026-09-29 19:01:24 +00:00
Claude a7ae4a49be Merge main (1.3.83); release as 1.3.84
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 16:58:46 +00:00
Claude 395569a316 Merge main; release 1.3.82 2026-09-29 16:20:57 +00:00
Claude 9b49e083f8 Give every ship, submarine and aircraft type its own 3D model
Per-type variants from public dimensions (data/unit_models/variants.json),
drawn in the analyser, unit editor and every eyepiece; the lookout,
binoculars and periscope show the type the eye sees. Browser variants load
lazily in three groups. The web client drops a late pushed state older than
its last polled one instead of reconnecting.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 15:47:27 +00:00
Claude a5fbe73d0e Web engine room of the submarine: machinery control console with status lamps 2026-09-29 15:34:10 +00:00
Claude d7aeec7837 Merge main (1.3.78 3D models); release as 1.3.79
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 14:14:22 +00:00
Claude c09a5bf5ce 3D models in the lookout, binoculars and periscope, turned by the judged angle on the bow
The lookout and the periscope crew judge a made-out ship's angle on the bow
in 10 degree steps (transient, never saved); the eyepieces on the uConsole,
in the browser and on the phone draw the analyser's model turned by it from
16 px, cut at the waterline, with the navigation lights projected.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0152Nma5HLPQmjUoBfCvhkoC
2026-09-29 13:24:23 +00:00
Claude f1d91f06fc WIP: 3D models in the analyser and unit editor (1.3.78) 2026-09-29 13:11:12 +00:00
Claude 5fba6e000c Merge main (1.3.75 tag cleanup); release as 1.3.76
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 12:36:50 +00:00
Claude 9545789f80 Remove older version tags with their releases (1.3.75)
After deleting the older releases, the Windows workflow now also deletes
every git tag vX.Y.Z older than the current version, so only the newest
release and its tag stay on GitHub. The uConsole updater fetches only the
tag of releases/latest. Tags of another form (backup tags) are kept.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-29 11:25:15 +00:00
Claude df527fb9e0 Autopilot path search, test CI, flaky browser fixes, hardware report (1.3.74)
The autopilot falls back to a bounded A* chart search when a stand-off
detour does not clear a leg (channels, bays, long coasts). GitHub runs
the suite with Chromium plus the generated-file checks, calibration and
smoke test on every change. The phone lookout keeps its eyepiece when the
boot /session 401 arrives after pairing; the status bar check loads the
bundled fonts and measures on a timer. Manual: the AI hunters, not the
frigate, lack ASROC. tools/hw_report.py summarises a uConsole debug run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PDZS4V7aAXG4LYmchPZgbQ
2026-09-29 11:07:06 +00:00
Claude 735d8adfa9 Let HQ send the crewed submarine orders, received by VLF (1.3.65)
The boat's VLF loop copies the broadcast below the mast down to 25 m (60 s
instead of 20 s, receive only). From broadcast 2 on a broadcast may carry
an HQ order while none is open (deterministic per seed and number, at most
4): proceed to an area in deep water, send a situation report, or keep
radio silence, each with a deadline. Radio page, chart and the Remote Crew
radio card show the open order. Saves are now v30 (crew.radio version 2).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TGvKG7oVxvDAFoEk15CCFZ
2026-09-29 06:09:19 +00:00
Claude 2aa8e14451 Merge main (1.3.49 aircraft elevation) and move this series to 1.3.50-1.3.58
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:41:12 +00:00
Claude f045681c29 Suggest OPZ correlations of two own sensors on one bearing (1.3.53)
U fuses the top suggestion on the uConsole OPZ, Shift+U dismisses it;
the Remote Crew OPZ lists up to four with Fuse and Dismiss.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:16:18 +00:00
Claude d653d2d0d5 Give the frigate an autopilot route with waypoints and search patterns (1.3.52)
Bridge: right click adds a waypoint (up to 8), W starts a zigzag or an
expanding square, Backspace clears; any helm order takes over. Remote Crew
bridge gets an Autopilot route card and a chart mode for waypoints.
Saves are now v28 with the route block.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RyrzxkJ2eWnWk5E66xWhSB
2026-09-28 20:15:00 +00:00
Claude bc0a6a98de Merge main (1.3.47 phone lookout) and move this release to 1.3.48
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Brs2A2pkJfEBoMWGNEL9AU
2026-09-28 19:58:27 +00:00
Claude c919f8aa64 Release 1.3.46: README screenshot gallery with binoculars and periscope by day and night
Regenerated uConsole and Remote Crew screenshots in the turquoise look; the
capture tools now also frame the frigate's binoculars and the submarine's
periscope (tools/sight_capture.py) with a warship and merchants whose
navigation lights show at night.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Brs2A2pkJfEBoMWGNEL9AU
2026-09-28 19:15:21 +00:00
Claude 0973b2b58c Phone lookout: browser schema, session roles, tests 2026-09-28 19:00:20 +00:00
Claude 00611fd874 Merge main 2026-09-28 18:56:45 +00:00
Claude a19155cd8b Merge remote-tracking branch 'origin/main' into claude/views-splash-style-frh9sn
# Conflicts:
#	AGENTS.md
#	CHANGELOG.de.md
#	CHANGELOG.md
#	README.de.md
#	README.md
#	docs/manual/handbuch.de.pdf
#	docs/manual/manual.en.pdf
#	src/core/version.py
#	tests/test_packaging.py
#	tests/test_startup.py
2026-09-28 18:19:08 +00:00
Claude 46b5d237b3 Release clean-up: strip Windows line endings from tags (1.3.43)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 18:09:27 +00:00
Claude f2cfcb713e Keep only the newest GitHub release (1.3.42)
After publishing v<APP_VERSION> the Windows workflow deletes every older
release (git tags stay). tools/prune_releases.py picks only vX.Y.Z tags older
than the current version, never a newer one. Both updaters read only
releases/latest.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Nnvw4QEQCCWoLWoB9ba6h
2026-09-28 18:04:24 +00:00
Claude 8e1eb23eb0 Keep the sky still in the eyepieces; navigation lights of neutral ships and civil aircraft
Clouds, stars, sun and moon hang on the nominal horizon instead of rolling
with the sea. Neutral vessels show COLREG lights by sector and range with
the all-round lights of vessels at work, civil aircraft their position and
anti-collision lights; lit traffic is sighted by its lights at night.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
2026-09-28 18:02:00 +00:00
Claude 49315a64d2 Screenshots: binoculars and periscope by day and night (uConsole and browser)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Brs2A2pkJfEBoMWGNEL9AU
2026-09-28 17:59:32 +00:00
Claude bc682b7143 Release 1.3.36: splash-style eyepieces and stations
Periscope and lookout binoculars get the start screen's look (day, dusk,
night with stars and moon, clouds, rain, snow, fog, steel silhouettes with
lit rims). The Remote Crew bridge gets the lookout's binoculars; the browser
periscope draws the uConsole's generated silhouettes. uConsole and browser
stations use the turquoise phosphor and night blue with corner brackets.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
2026-09-28 16:55:41 +00:00
Claude 3456d43b06 Splash-style sight scene for periscope and binoculars (WIP)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FMaWuqY25q9HVgVCtUYezk
2026-09-28 16:38:11 +00:00
Claude 4deb994d31 Add A4 promotional poster (DE/EN) and its render tool
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011mHDneUDMAkTiTZGKVoL3y
2026-09-28 11:02:11 +00:00