How zreal1/ng works
This is a small command-line number-guessing game. The user enters guesses across five increasingly large levels; each level checks guesses, gives directional and proximity hints, and returns its attempt count. The main routine totals attempts and prints completion results. The single source file shows the calls and console interactions directly.
Main entry points: num_gues.py Level guessing
Components 7
Other components
- Player
- Game flow
num_gues.py - Welcome screen
num_gues.py - Level guessing
num_gues.py - Guess hints
num_gues.py - Random generator
- Console I/O
Connections 11
- Game flow → Welcome screen: calls
num_gues.py - Game flow → Level guessing: runs levels
num_gues.py - Level guessing → Random generator: draws secret
num_gues.py - Level guessing → Guess hints: requests hint
num_gues.py - Welcome screen → Console I/O: prints welcome
num_gues.py - Level guessing → Console I/O: reads and prints
num_gues.py - Guess hints → Console I/O: prints guidance
num_gues.py - Game flow → Console I/O: prints results
num_gues.py - Player → Console I/O: enters guesses
- Console I/O → Player: shows prompts
- Level guessing → Game flow: returns attempts
num_gues.py