A Countdown-style Numbers Game in Python

This post is largely because repl.it have an embeddable Python environment and I want to try it out.

Running the script in IDLE

And here (hopefully) is an embedded version:

It works! Not every time, and not flawlessly (for example waiting for user input just causes my browser to hang) but it’s still useful.

There is also an iframe version that’s far more powerful in that not only does user input work, but the script is entirely editable:



Same code but hosted locally rather than embedded from a third party:


Leave a Reply