Coder Social home page Coder Social logo

crappy-bird's Introduction

Crappy Bird

A year ago, a beginner Python programmer decided to make his first game: Flappy Bird but fill it with crap. Using PyGame Zero - the beginner-friendly version of PyGame - and Piskel for crappy pixel art, he made it.

To preserve authenticity, the original badly written code had never been changed or refactored, and is here in its full glory. I might create a repository with cleaner modern code later on. Soon™. But for now, you'll find:

  1. camelCase mixed with snake_case and PascalCase
  2. newlines, redundant parentheses, and inconsistent spacing everywhere in complete violation of PEP8
  3. no logical spacing at all, everything is crushed together :D
  4. global hell. Self-explanatory.
  5. no documentation. Figure stuff out.
  6. an excessive amount of weird hardcoded numbers

The game itself is quite hard, like the original Flappy Bird. No spoilers here. The only thing I'm revealing about the game is that your bird propulses itself with farts. The game also contains a backstory printed to the shell; read that (or just read it here) if you would like fart-filled lore to enhance the experience.

You will need to install PyGame Zero in order to play. See the documentation here.

Have fun!

Backstory - read if your shell doesn't work

Welcome to Crappy Bird!!

Controls: Space or up arrow to fart, s or down arrow to dive.

Backstory: The year was 2013. Flappy Bird had the most glorious time ever. People were loving him, praising him, he was the king of mobile arcade games. However, it didn't last long. Soon came the hate. Flappy Bird was insulted, discriminated, and abandonned. He lost his throne, and was exiled to the Craplands. There, he was tortured by the smell of the place and its inhabitants. Life was awful. Flappy Bird became Crappy Bird. Now, he couldn't take it anymore. He flies around Craplands looking for a road to freedom, a road that leads out of misery.

Credits: Made in Python, game directly inspired by Flappy Bird. This is a fan-made version. Music - Nyan Cat(Original)

crappy-bird's People

Contributors

objectivitix avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.