Skip to content

Commit 5ae597a

Browse files
committed
added Flappy Bird game
1 parent c493957 commit 5ae597a

File tree

11 files changed

+423
-0
lines changed

11 files changed

+423
-0
lines changed

Diff for: PyGamesScripts/Flappy Bird/Images/background.png

24.2 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/bird.gif

3.52 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/bird_wing_down.png

1.38 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/bird_wing_up.png

1.29 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/ground.png

2.78 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/output.png

81.3 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/pipe.png

6.18 KB
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/pipe_body.png

331 Bytes
Loading

Diff for: PyGamesScripts/Flappy Bird/Images/pipe_end.png

692 Bytes
Loading

Diff for: PyGamesScripts/Flappy Bird/README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Flappy Bird
2+
Flappy Bird Game is a desktop application i.e, developed in python programming language using pygame module.
3+
4+
## About the game
5+
- It is single player only i.e. you play with computer.
6+
- You have to keep the bird moving forward and avoid the contact with the obstacles.
7+
8+
## How to Play?
9+
- You have to remain in the screen until long green channels show up before you.
10+
- The user needs to control the bird fluttering up, down using the Spacebar or mouse clicks.
11+
- Avoid the contacts with the pipes to score more.
12+
- As long as you be alive more will be your score.
13+
14+
15+
## Setup instructions
16+
1. Install Python 3.x (recommended) from <a href="https://www.python.org/downloads/">here</a>
17+
2. Install Pygame 2.x(recommended) from <a href="https://pypi.org/project/pygame/">here</a>
18+
3. Download this repository as zip and extract.
19+
4. open cmd prompt and adjust the directory to 'Flappy Bird' folder.
20+
5. type this command to run the code<br>
21+
```bash
22+
flappy_bird.py
23+
```
24+
6. Press Enter to run the code and start playing.<br>
25+
7. Have fun!!
26+
27+
28+
## Output
29+
<img align="center" alt="output" src="Images/output.png" />
30+
31+
## Author
32+
<a href="https://github.com/sambit221">Sambit Kumar Tripathy</a>

0 commit comments

Comments
 (0)