If you are playing on PC/Mac, don't forget to click inside the terminal window to capture the cursor,
then you can use A, S, Enter, and the Arrow keys on your keyboard to play.
If you are playing on Mobile, it may be easier to use the Virtual Keyboard below.
Browser Note
This demo runs the Python game code in your browser using Pyodide, which executes
Python inside JavaScript. To keep the port simple and faithful to the original,
the game loop currently runs on the main thread. That works well in Google Chrome
on PC, Mac, and Android.
On iOS, all browsers use Apple's WebKit engine, which is more restrictive with
long-running main-thread work. As a result, iOS browsers (including Safari and
Chrome on iOS) may freeze or become unresponsive during gameplay. If you're viewing
this page in Safari and it feels stuck, that is likely the cause.