pyBegin / projects / number-guessing-app
🎮

Number Guessing App

A two-mode number guessing game. In mode 1 the player guesses a random number chosen by the computer; in mode 2 the computer guesses the number the…

79 linesRunnable

Number Guessing App

A two-mode number guessing game. In mode 1 the player guesses a random number chosen by the computer; in mode 2 the computer guesses the number the player picked, using feedback (too high / too low / correct).

How to run

python main.py

Dependencies

Standard library only (random).

Pyodide-runnable

Yes — it is a pure-stdlib console program using input() and print().