Is it possible? I want to put my game on a website so students and presenters could access it freely as it is an educational resource. Should I use javascript and buy a domain? What’s the cheapest option?

Answer

I’m sorry, but you can’t use Pygame for website games. Also pygame is clunky, slow and old so I don’t recommend it. Instead just use JavaScript with canvas. The logic is really similar to PyGame, and you just need to learn some basic JS syntax.