
niu tech wrote:
I am developing an online emulator for PewPew Standalone using Pygame4skulpt. Your CircuitPython code is running fully client-side inside the browser, handling LED display and key presses. Here is the demo of the first proof-of-concept: https://gfycat.com/ifr/kindheartedsilveritalianbrownbear.
Wow, very cool! I was wondering the other day if there was a JavaScript-based emulator of some hardware that could run CircuitPython or MicroPython to make a web-based PewPew emulator with (similarly to http://micropython.org/unicorn/) - but of course you are right that a JavaScript-based Python implementation is sufficient. I wasn't aware of Skulpt. From the description on GitHub it seems like its Python 3 support is preliminary, is it good enough yet to run the existing PewPew games? There would also be https://github.com/micropython/micropython/tree/master/ports/javascript (which I have never tried). -Christian