🎮

Higher-Lower Game

Python24 lines· A number guessing game. The program picks a random number between 0 and 100 and tells you whether to guess higher or lower until you find it.
Original project by @ZackeryRSmith — view source on GitHub
Ready when you are

Higher-Lower Game

A number guessing game. The program picks a random number between 0 and 100 and tells you whether to guess higher or lower until you find it.

How to run

python main.py

Dependencies

Standard library only (random).

Pyodide-runnable

Yes — console game using only input()/print() and the random module.

higher-lower.py· Python 3.x
31 lines
Console· terminal