How nithanyasri28/number-guessing-game works
This is a small console number-guessing game implemented in one Python script. The player enters guesses; the game generates a number, gives high/low feedback, and offers another round. Although the README mentions allowed attempts, the shown code has no attempt limit. The script uses Python’s random module; no separate storage or service layer is present.
Main entry points: NUMBER GUESSING GAME.py Guessing Game
Components 3
Other components
- Player
- Guessing Game
NUMBER GUESSING GAME.py - Random Module
Connections 4
- Player → Guessing Game: enters guesses
NUMBER GUESSING GAME.py - Guessing Game → Player: shows hints
NUMBER GUESSING GAME.py - Guessing Game → Random Module: draws number
NUMBER GUESSING GAME.py - Guessing Game → Guessing Game: restarts round
NUMBER GUESSING GAME.py