🎮

Number Guessing App

Python79 lines· 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…
Original project by @cypherab01 — view source on GitHub
Ready when you are

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().

number-guessing-app.py· Python 3.x
84 lines
Console· terminal