mirror of
https://github.com/sourabhv/FlapPyBird.git
synced 2024-11-25 16:35:52 +08:00
1.5 KiB
1.5 KiB
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)
-
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. RunDEBUG=True make
to see rects and coords -
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