mirror of
https://github.com/sourabhv/FlapPyBird.git
synced 2024-11-25 16:35:52 +08:00
A Flappy Bird Clone using python-pygame
.github/workflows | ||
assets | ||
.flake8 | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.replit | ||
flappy.ico | ||
flappy.py | ||
LICENSE | ||
main.py | ||
Makefile | ||
pyproject.toml | ||
README.md | ||
screenshot1.png |
FlapPyBird
A Flappy Bird Clone made using [python-pygame][pygame]
Setup (as tested on MacOS)
-
Install Python 3 from here (or use brew/apt/pyenv)
-
Run
make init
(this will install pip packages, use virtualenv or something similar if you don't want to install globally) -
Run
make
to run the game. -
Use ↑ or Space key to play and Esc to close the game.
-
Optionally run
make web
to run the game in the browser (pygbag
).
Notable forks
- FlapPyBlink Blink to control the bird
- FlappyBird Fury Mode
- FlappyBird Model Predictive Control
- FlappyBird OpenFrameworks Port
- FlappyBird On Quantum Computing
Made something awesome from FlapPyBird? Add it to the list :)
Demo
https://user-images.githubusercontent.com/2307626/130682424-9254b32d-efe0-406e-a6ea-3fb625a2df5e.mp4