A Flappy Bird Clone using python-pygame
Go to file
2023-06-19 04:41:01 +05:30
.github/workflows Add github actions 2023-06-16 20:04:00 +05:30
assets Use pip instead of pipenv and add pygbag 2023-06-16 19:58:13 +05:30
src Rename welcome message sprite 2023-06-19 04:22:34 +05:30
.flake8 Use pip instead of pipenv and add pygbag 2023-06-16 19:58:13 +05:30
.gitignore Improve code by adding a generic entity object 2023-06-19 03:49:14 +05:30
.pre-commit-config.yaml Use pip instead of pipenv and add pygbag 2023-06-16 19:58:13 +05:30
.replit adding run on repl.it badge 2019-12-09 23:54:45 +00:00
flappy.ico Add icon and setup.py file 2014-05-16 21:42:27 +05:30
LICENSE Initial commit 2014-04-03 18:21:49 +05:30
main.py Split into multiple files 2023-06-17 18:03:19 +05:30
Makefile Split into multiple files 2023-06-17 18:03:19 +05:30
pyproject.toml Use pip instead of pipenv and add pygbag 2023-06-16 19:58:13 +05:30
README.md Add link to old code 2023-06-19 04:41:01 +05:30
screenshot1.png Update README: Add ScreenShot 2014-05-13 20:27:21 +05:30

FlapPyBird

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

https://user-images.githubusercontent.com/2307626/130682424-9254b32d-efe0-406e-a6ea-3fb625a2df5e.mp4