This is popular game is one of the most important initial games to make in a journey of a game developer. As enjoy it is in playing, as much it is in making and gives you opportunity to learn many different game concepts. Here is my version of flappy bird, created using pygame.
It is a python library for game developers. If you are a beginner and want to start your game development journey, you always have pygame as an option. This library is very beginner friendly and as you go deep you can make advance games also. Using this technology enables you to write code in python which is a very easy langugage to understand and work with.
In this game we can learn how to work with
- Different states
- Score calculation
- collision detection
- sprites
- Pause funtionality
- movement
If you want to try this game on your computer then do the following steps:
The executable file for this game is also avaiable. Installing the executable and running it on your device will save you a lot of trouble
-
Fork this repo in your personal github account
-
Make a copy of that repo in your device
You can use the below code to copy the repo in your personal device
git clone url_of_your_github_repo
-
Open this file using command prompt / powershell window
for opening a file in command prompt/ powershell simply right click on the repo you copied earlier and select open with powershell option
-
Download pygame
python -m pip install pygame
If pygame is already installed in your device then skip this step
-
In your command prompt / powershell window type the following command
python main.py
-
You are all set enjoy
Thank you! for visiting our game. I hope you would enjoy it.