mirror of
https://github.com/sourabhv/FlapPyBird.git
synced 2024-11-25 16:35:52 +08:00
A Flappy Bird Clone using python-pygame
assets | ||
.gitignore | ||
.replit | ||
flappy.ico | ||
flappy.py | ||
LICENSE | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
screenshot1.png | ||
setup.py |
FlapPyBird
A Flappy Bird Clone made using python-pygame
Setup (as tested on MacOS)
-
Install Python 3.x (recommended) 2.x from here (Or use your preffered package manager)
-
Install pipenv
-
Optional: Install PyGame 1.9.x from here
On MacOS, pipenv will install PyGame, please check how to install on your Linux/Windows machines
-
Clone the repository:
$ git clone https://github.com/sourabhv/FlapPyBird
or download as zip and extract.
-
In the root directory run
$ pipenv install $ pipenv run python flappy.py
-
Use ↑ or Space key to play and Esc to close the game.
(For x64 windows, get exe here)
Notable forks
- 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