Im a python developer and i have recently discovered, after many hours, that it impossible to make a web build for a python game, i dont use pygame just so you know, i have tried using pygbag but i cant seem to make it work.
Looks like pygbag is able to make a web build for pygame. I’ve never used it before though. The steps on their repo https://github.com/pygame-web/pygbag