Configure Piper TTS synthesis via environment variables (speaker_id,
length_scale, noise_scale, noise_w_scale, volume) loaded from .env
with python-dotenv. Includes .env.example as reference template.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Enable TTS with `h2g2 --audio` to hear game text spoken aloud using
the Piper en_GB-alan-medium voice. Audio plays in a background thread
while text displays normally. The new `replay` in-game verb replays
the last spoken audio. Voice model path is configurable via --voice.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add README.md with install/run instructions using uv
- Add build-system and script entry point to pyproject.toml
- Add .gitignore for __pycache__ and save files
- Remove placeholder main.py (entry point is h2g2.main:main)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Original ZIL source code for The Hitchhiker's Guide to the Galaxy (Infocom, 1984)
plus a native Python text adventure engine with the Earth opening sequence playable
(Bedroom → Front Porch → Front of House → Country Lane → Pub).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>