Tiny Games in JupyterLite
twitter.comLet's start the week with something fun. We ported pyb2d, python bindings for #Box2D, to #pyodide / #wasm. With that, we can implement tiny games directly in #jupyterlite. While the framerate might not be the best, it should have some educational value.
This runs directly in the browser without any server.
Play billiard: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...
Play a World of Goo clone: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...
Play an Angry Birds clone: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...
Steer a rocket: https://jupyterlite.github.io/demo/lab?path=pyolite%2Fpyb2d%...
https://jupyterlite.github.io/demo/lab/
You can create your own deployment of jupyterlite with this: https://github.com/jupyterlite/demo