How rafa-riki/even-or-odd- works
A small command-line even/odd guessing game. The player enters a guess or exit choice; the script validates it, draws a random number, updates win/loss counters, and prints the outcome. All game behavior is implemented in one file. The randomness relationship is visible through its import and call; no other subsystems are present.
Main entry points: even_or_odd.py Guessing Game
Components 3
Other components
- Player
- Guessing Game
even_or_odd.py - Random Generator
Connections 3
- Player → Guessing Game: enters guess
even_or_odd.py - Guessing Game → Player: prints prompts and results
even_or_odd.py - Guessing Game → Random Generator: draws number
even_or_odd.py