Commit Graph
3 Commits
Author SHA1 Message Date
Claude 44181d86b4 Make the noise-discipline microphone work on uConsole, Windows, macOS and in the browser (1.3.169)
The SDL capture was opened with devicename=None, which pygame 2.6 refuses,
so the microphone never opened. It now opens the default input, names the
cause when it cannot (status message, Options page 2), the macOS app asks
for microphone access and the builds self-test the capture. The crew page
on plain HTTP shows why the browser refuses the microphone and offers the
host's HTTPS page.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6UodrzZBT8W5pCsacEDpH
2026-10-03 05:43:30 +00:00
Claude e43640ec50 Keep the browser header on one line with the microphone meter
The band text moves into the meter's title and a hidden status line, so
the header no longer squeezes the station views at 1280x720.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HQwtegBu8afg7BWtsCx7tt
2026-10-02 10:00:40 +00:00
Claude ed0cf3b4ad Noise discipline with microphone, enemy commander characters and a daily mission
- Noise discipline: crew mishaps (rarer under silent running, more with a
  tired crew), slower work under quiet orders, and the players' voices from
  the uConsole microphone (option) or the browser's (opt-in /noise-mic.js,
  level only, POST /api/v2/mic) with a meter and thresholds; loud crews add
  noise the enemy can hear and both sides report what they hear.
- Enemy commanders get one of four characters (daring, fox, cautious,
  hunter) from the seed; HQ sometimes hints at it, the debrief names it.
- Daily mission: one fixed mission per side and day in the day's real sea
  area, best score kept in the logbook for 30 days.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HQwtegBu8afg7BWtsCx7tt
2026-10-02 08:27:43 +00:00