Videogames made with Pygame in the browser with WASM

I made a try to see if it was so easy to put a game made with Python and Pygame in the browser so that everyone could run it without having to install anything… and it was that easy. Follow the video to see how easy really is.

Here is the example

https://pythonprogrammi.itch.io/tetris

The source code of the game can be found here. You need to do the change you see in the video and also convert the 2 mp3 files in ogg. I used ffmpeg -i all.mp3 all.ogg (you will need to install ffmpeg that is free.

What to do


Subscribe to the newsletter for updates
Tkinter templates
Avatar My youtube channel

Twitter: @pythonprogrammi - python_pygame

Videos

Speech recognition game

Pygame's Platform Game

Other Pygame's posts

pygame in the browser

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.