An OpenAI-compatible /audio/speech service, set up on a second page of the language model's settings (address, speech model, voice, key in ~/.u-jagd/tts_key or the model's key on the same server). The executive officer speaks his answers and coach tips, the spoken crew reports use the same voice instead of espeak-ng (espeak-ng when the service fails). Requests and WAV decoding run on a worker; clips play on their own reserved mixer channel beside the sonar tone. Off by default: the game is unchanged without it. The settings pages take mouse clicks (tabs, rows, close box). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018daq29kru65UEEQQM3E6AK
8.5 KiB
U-Jagd
U-Jagd is a real-time anti-submarine warfare game, built for the ClockworkPi uConsole (1280 x 720) and also available for Windows and macOS. You command the frigate F-217 with nine stations, or a submarine with seven, and hunt or evade the other side. Friends can crew stations from a browser on the same network.
Current release: 1.3.225
Release 1.3.225 gives the optional language model a voice. Under Options, page 2, Language model, a second page "Voice" takes an OpenAI-compatible speech service (address, speech model, voice and API key; preset OpenAI gpt-4o-mini-tts). With it the executive officer speaks his answers and the coach's tips, and the spoken crew reports use the same natural voice instead of espeak-ng, each with its own switch. The voice plays on its own audio channel beside the sonar tone, and its key is kept in ~/.u-jagd/tts_key (or the language model's key on the same server), never in settings or saves. Without the service the game plays exactly as before; browsers keep their own voice for crew reports. The settings pages are now mouse-operable. Saves are v53; v38 to v52 saves still load.
Earlier releases: CHANGELOG.md.
U-Jagd is a hobby project by a single developer. It is a game, not a training or navigation product, and its systems are deliberately simplified.
Screenshots
uConsole (1280 x 720)
![]() Frigate binoculars, day |
![]() Submarine periscope, night |
Frigate stations:
![]() Bridge |
![]() Sonar |
![]() Weapons |
![]() OPZ/CIC |
![]() Electronic Warfare/ESM |
![]() Helicopter |
Submarine stations:
![]() Command |
![]() Sonar |
![]() Navigation |
More: damage control, radio, engine room, submarine weapons, submarine engine room, main menu and Mission Editor.
Browser (1920 x 1080)
![]() OPZ/CIC |
![]() Sonar |
More: the complete English/German browser gallery.
Features
- Two sides: the frigate F-217 (nine stations) or a submarine (seven stations).
- Twelve scenarios per side, including a free patrol, plus training lessons, a daily mission, a campaign and short missions.
- Passive and active sonar with towed array and variable-depth sonar, LOFAR, DEMON and bearing-only target motion analysis; radar, ESM and radio.
- Helicopter, patrol aircraft, torpedoes, depth charges and an escort destroyer; damage control with fire, flooding and wounded crew.
- Always real time: no pause and no time acceleration. Free stations are manned by the AI crew.
- Multiplayer in the browser: each player takes one or more stations, phones can join as lookouts by QR code.
- Mission and unit editors with sharing; English and German; light, dark and high-contrast colour schemes.
- An optional language model add-on for radio wording and an executive officer; the game works fully offline without it.
Download and Install
Windows
Download U-Jagd-Windows.exe from the
latest release
and run it. The program is not code-signed, so SmartScreen may warn on the
first start ("More info", "Run anyway").
macOS (Apple silicon)
Download U-Jagd-macOS-arm64.zip from the
latest release,
unzip it and move U-Jagd.app to Applications. The app is not notarized:
open it once with right-click, Open (macOS 15: System Settings > Privacy
& Security > Open Anyway). There is no build for Intel Macs.
uConsole and Linux
One command installs the game on the uConsole with a menu entry:
curl -fsSL https://raw.githubusercontent.com/db9979/uconsole_asw_game/main/packaging/uconsole/install.sh | sh
On any other Linux system (Python 3.11 or newer):
git clone https://github.com/db9979/uconsole_asw_game.git
cd uconsole_asw_game
python3 -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
python main.py
Details and troubleshooting: uConsole installation guide.
Updates
Nothing is installed automatically. When a newer release exists, the start
screen and the main menu show its changelog entry and offer Update now.
Saves and settings in ~/.u-jagd/ are kept.
Playing Together
Choose Multiplayer in the main menu. The lobby shows an address, a
pairing code and a QR code; other players open it in a browser on the same
network and take stations, and the AI crews the rest. python main.py --server
lets every player use a browser. Plain HTTP is for a trusted home network
only. Setup and security: Remote Crew guide and
web-host guide (German).
Documentation
- In the game,
F1opens context help and the full manual. - Manual: Markdown, PDF in English and German.
- Printable key reference (German): station shortcuts.
- Remote Crew protocol and security: protocol.
- Version history: CHANGELOG.md.
Development
python -m pip install -e '.[dev]'
pytest
Architecture, rules and all checks are described in AGENTS.md.
World Data and Disclaimer
The coasts come from 128 sectors derived from Natural Earth and Wikidata, so
real place and base names can appear. Their roles in the game are fictional,
and bathymetry, ranges and platform data are game-model values. Nothing here
is suitable for navigation or operational planning. Sources and licenses:
THIRD_PARTY_NOTICES.md.
Support
U-Jagd is free. If you enjoy it, you can support it at buymeacoffee.com/zquu1xu570.
License
Code and project documentation are MIT licensed, see LICENSE.
Pygame, NumPy, source data and fonts keep their own licenses, see
THIRD_PARTY_NOTICES.md.












