So today I basically had to deploy the game and boy was it hard. Since, I was using pygame I had to convert everything into a web format so I had to learn how to use pygbag and let’s just say it was almost a disaster. At first in my local host 8000 nothing would even load and I had to keep on trying to debug it and changing my main.py code. It was really tiring but the moment I got it to work I was super happy and I couldn’t believe it. Then, the next part was making a workflow that github can use in order to deploy it as a webpage, and there another set of bugs did pop up as I forgot that github uses linux so it’s case sensitive. After finally fixing it, I’m very happy to say that my first ever lil python game is online! Feel free to check out the simple game that almost fried my brain here: https://bangzishu-huang.github.io/A-lil-pong-game/ :)
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.