A number guessing game
A playable number-guessing game with a bounded attempt loop, validated input, and testable rule functions.
Review checklist
- The secret stays in range and the game reports low, high, and win correctly.
- Non-numeric, empty, and out-of-range guesses never crash the loop.
- Tests cover low, high, win, and the 1 and 100 boundaries.