MIL-003 Console game: game loop, entry point and accepted use case #26

Merged
Tirsvad merged 3 commits from mil-003-game-loop into main 2026-10-04 17:50:34 +02:00
3 Commits
Author SHA1 Message Date
TirsvadandClaude Sonnet 5.5 5e4dd48e3e Resolve pending commit links for accepted use case artifacts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-04 23:49:52 +08:00
Tirsvad 0ada1588ee Add the console game loop and entry point
Add show_round, ask_choice and play_game with injectable input and
output, and make python -m higher_lower play a game. Each account is
shown once per game; a wrong guess or running out of accounts ends it.
Invalid input is re-asked. Ctrl+C and Ctrl+D leave with a goodbye.
Cover the loop with scripted tests (36 passing).

Task: MIL-003#1
Task: MIL-003#2
Task: MIL-003#3
Task: MIL-003#4
Task: MIL-003#5
Closes #12
Closes #13
Closes #14
Closes #15
Closes #16
2026-10-04 23:49:09 +08:00
Tirsvad c7164feab1 Accept UCD-001, US-001, UC-001 and SSD-001 after review
Review the use case chain for Play a Game (RC-007 to RC-010, all Go)
and accept the four documents. Update the Traceability Matrix.
2026-10-04 23:48:42 +08:00