Giter Site home page Giter Site logo

flappybird's Introduction

A Flappy Bird Clone made using python-pygame

If you are in interested in the old one-file code for the game, you can find it here

Setup (as tested on MacOS)

  1. Install Python 3 from here (or use brew/apt/pyenv)

  2. Run make init (this will install pip packages, use virtualenv or something similar if you don't want to install globally)

  3. Run make to run the game. Run DEBUG=True make to see rects and coords

  4. Use โ†‘ or Space key to play and Esc to close the game.

  5. Optionally run make web to run the game in the browser (pygbag).

Notable forks

Made something awesome from FlapPyBird? Add it to the list :)

Demo

demo.mp4

flappybird's People

Contributors

feltcat avatar festerdam avatar harshdeepsokhey avatar ishmandoo avatar mgalushka avatar ottoszika avatar pythoncatcoder avatar sero583 avatar sourabhv avatar thelogicmaster avatar thesmartdeveloperr avatar wingcode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flappybird's Issues

Pipe lightsing is wrong

The pipes have a white area, and that area is at the right for the upper pipes and at the left for the lower pipes. To fix the issue just mirror the upper pipe or the lower pipe.

Possible addition

How about adding mute button? The sound may be a little tiring for some people. I would love to give it a try.

Display not showing sprites

We are seeing the screen as grey but not the sprites, can hear the sound.

Mac OS X 10.14.3
tried both python3 and python2 in pipenv
installed pygame module using pipenv
ran flappy.py line by line trough ipython
same result

Can I use this game for my research?

The project is licensed commercial free, but are the assets and the main game is free to use?
I need to know because I want to use them in my research, thanks in advance!

Make exe using setup.py

py2exe doesn't seem to work well on 64 bit windows ('bundle_files': 1 doesn't support win64 for now). So, it would be great if someone can use their 32 bit windows and create an exe. Feel free to change setup.py.

Use python27, pygame 1.9.X

Can't play Flappy Bird

OS: Mac 10.12.6 Sierra
Python: 3.6

  1. I installed pygame
  2. Ran python flappy.py
  3. Window appears but hitting space or upkey doesn't work

It also prints "libpng warning: iCCP: known incorrect sRGB profile" in the teminal

Thanks

Assets are commercial free?

The project is licensed commercial free, but are the assets commercial free?

I need to know because I want to use them in my game, thanks!

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.