Commit Graph
9 Commits
Author SHA1 Message Date
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 afcd2f0aea Merge origin/main (in-game update notice) into item3
The Tk starter stays deleted: the frozen game installs updates itself
("windows" mode); src/launcher/entry.py takes over the starter's
UPDATE_EXIT_CODE hand-over (fetch <exe>.new if missing, launch_install).
main.py keeps --multiplayer and passes mode None to start_update_check;
launcher.* catalog keys stay removed next to the new update.* keys.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CdekJguPyu1j8yasw3BYWx
2026-09-30 11:33: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 014fd8077f Show new releases on the start screen; install only on Update now (1.3.107)
Updates are no longer installed automatically. The game asks GitHub once at
launch; a newer release appears on the splash and in the main menu with its
changelog entry in the game language, a warning when the save format
changes, and an Update now button (key U). The uConsole launcher updates
only through 'u_jagd_updater.py install' after the game closes and retires
the old background timer; the Windows program downloads and swaps its exe
from inside the game.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CEADLRpscFv2uwPMFgJ58V
2026-09-30 10:30:20 +00:00
Claude 1bbcd5745d Write a crash log to ~/.u-jagd/crash.log
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112LuqYi6ChYujek3cdoCs2
2026-09-28 16:14:31 +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
db9979andClaude Opus 5.5 71c6a7e461 Crewed hostile submarine: Remote Crew roles and local U-boat side
- 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>
2026-09-26 09:16:36 +02:00
db9979andClaude Opus 5.5 42bc571c61 Audible sonar echoes, exact HQ threat intel, Remote Crew behind a proxy
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>
2026-09-25 20:15:18 +02:00
db9979 3b3753cf4e Initial Release v1.0.0 2026-09-23 12:10:58 +02:00