How yahiagaied/jeux_chiffres works
Jeux de Chiffres is a small interactive Python guessing game. The player enters guesses through the console; the script chooses a secret number, checks guesses, gives higher/lower hints, and ends after a correct guess or the five-attempt limit. Validation and attempt tracking are part of the same script rather than separate modules. The source excerpt shows the random-number call and console interaction; the graph keeps those runtime relationships explicit.
Main entry points: main.py Guessing game
Components 3
Other components
- Player
- Guessing game
main.py - Random module
Connections 3
- Player → Guessing game: enters guesses
main.py - Guessing game → Random module: chooses secret
main.py - Guessing game → Player: prints hints
main.py