While studying python in my free time I came across an interesting module called pygame. Eager to try it out, I thought back to the simple game of Flappy Bird. There's not anything crazy complex happening in the game, and I already knew how it was supposed to look. So I began learning how pygame worked. This was a great learning experenice for me while being fun at the same time. I learned alot about how games really worked behind the scenes and that was exciting. On top of that I got to practice my python skills. Give it a try and see if you can beat my high score of 10! π
-
Make sure you have python3 installed.
-
Install pygame. Type these in your terminal depending on your OS.
sudo apt-get install python3-pygamepy -m pip install -U pygame --userpython3 -m pip install -U pygame==2.0.0.dev12 --user -
Just press space to play!