A version of Flappy for illustrating some AI methods.
Project description
A Flappy Bird Clone made using [python-pygame][pygame]
How-to (as tested on MacOS)
Install Python 3.x (recommended) 2.x from [here](https://www.python.org/download/releases/)
Install [pipenv]
Install PyGame 1.9.x from [here](http://www.pygame.org/download.shtml)
Clone the repository:
`bash $ git clone https://github.com/sourabhv/FlapPyBird `
or download as zip and extract.
In the root directory run
`bash $ pipenv install $ pipenv run python flappy.py `
Use <kbd>↑</kbd> or <kbd>Space</kbd> key to play and <kbd>Esc</kbd> to close the game.
(For x64 windows, get exe [here](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pygame))
Notable forks
[FlappyBird Fury Mode](https://github.com/Cc618/FlapPyBird)
[FlappyBird Model Predictive Control](https://github.com/philzook58/FlapPyBird-MPC)
[FlappyBird OpenFrameworks Port](https://github.com/TheLogicMaster/ofFlappyBird)
Made something awesome from FlapPyBird? Add it to the list :)
ScreenShot
![Flappy Bird](screenshot1.png)
[pygame]: http://www.pygame.org [pipenv]: https://pipenv.readthedocs.io/en/latest/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flappy_bird_ai-0.1.tar.gz
.
File metadata
- Download URL: flappy_bird_ai-0.1.tar.gz
- Upload date:
- Size: 534.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ff8a7eb4af1ed1a22d7015ceacc84dfb4e7dbc472af52854e84d8a0883d3d58 |
|
MD5 | 2e7cd8045cca37de92de39c48db94795 |
|
BLAKE2b-256 | 40e4558487a173b7ea66cdb3a9bcd607f75fdced60e3210a61bb05220bcbf8f6 |
File details
Details for the file flappy_bird_ai-0.1-py3.7.egg
.
File metadata
- Download URL: flappy_bird_ai-0.1-py3.7.egg
- Upload date:
- Size: 547.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3.post20210118 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 437516f363cf72e2ced13fe4169c5a4d68dfed7f07ddb15bfbe56cf95855a1bc |
|
MD5 | 1c63b0f55efd687e5e4f0eaa6efd8a47 |
|
BLAKE2b-256 | 3c7abd1f48324d8eb258ba24e7dba0bbf3edc8da72abdacc23dba263c87162a2 |