I have been spending some time last year to brush up on some old programming skills, and have been completing some MOOCs. One of the final projects was to create this astroids destroying game, with a few twists.
One of the cool thing about the course was the ability to code python entirely on a web platform without the need to setup a suite of development tools, and the entire suite of graphics and sound libraries was self contained. This was made possible by the skulpt library, which is essentially a python interreter written in javascript. I eventually discovered some flaky method to be able to run the python code written in a stand-alone website, although to be honest I could have done a better job if I digged deeper into how skulpt worked.
Here is a link to the old astroids game, as a stand alone page.