I don't know exactly, I did it with pygame, when I tried it before, it worked in the browser with my different codes, but now it doesn't work.