This blog post has a single purpose, which is to show you the weird game I made, inspired by Flappy Bird and my crazy English teacher.
The inspiration for this game came after an English class in which my English teacher jokingly talked about a pigeon simulator game. Of course I took it seriously and a couple of lessons later I had this game working: a game where you just fly up and down, hitting SPACE to try and poop on the heads of the people you fly past.
The way the game works is pretty simple: use the spacebar to poop on top of the people you fly past. Hitting Q will exit the game and on the first screen you see, when you start the game, you can use the + and - keys to change the difficulty (which relates to the speed at which the pigeon flies).
The goal is to hit as many people as possible, knowing that you can't poop constantly. There is a little - intentional - delay. After flying and pooping for 60 seconds you are greeted by a screen with some stats, namely the percentage of people you managed to hit and the percentage of poops that hit / missed people.
The code was written Python 3 and pygame and the code + images can be found in this GitHub repo. A windows executable can also be found inside this Drive folder. In order to be able to run the executable, the folder must be left as-is.
+35 chapters. +400 pages. Hundreds of examples. Over 30,000 readers!
My book “Pydon'ts” teaches you how to write elegant, expressive, and Pythonic code, to help you become a better developer. >>> Download it here 🐍🚀.