🎮
Mastermind
Python65 lines· A console number-guessing game: the program picks a random 4-digit number and tells you how many digits you got right after each guess until you cr…
Original project by @mr-desilva — view source on GitHubReady when you are
Mastermind
A console number-guessing game: the program picks a random 4-digit number and tells you how many digits you got right after each guess until you crack it.
How to run
python main.py
Dependencies
Standard library only.
Pyodide-runnable
Yes — it is a pure-stdlib console game using only input(), print(), and random.
mastermind.py· Python 3.x
60 linesConsole· terminal