A simple Flappy Bird clone built using Phaser JS, a fast and fun open-source framework for Canvas and WebGL-powered browser games. This project is an excellent way to learn game development basics and explore the Phaser framework.
You can play the game live here: Live Demo
- Classic Flappy Bird gameplay mechanics.
- Responsive design for desktop and mobile devices(Desktop mode required).
- Score tracking to challenge yourself or friends.
- Simple and intuitive controls.
- Custom assets and animations.
- Phaser JS - A powerful framework for 2D game development.
- HTML5 & CSS3 - For structuring and styling the game.
- JavaScript - For game logic and functionality.
To run this game locally, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/flappy-bird-clone.git
-
Navigate to the project directory:
cd flappy-bird-clone
-
Open the game in your browser:
- Simply open the index.html file in your preferred browser.
- Alternatively, use a local server (e.g., live-server or http-server) to run the game.
Press the Spacebar or Click any where to make the bird flap and stay in the air. Avoid hitting the pipes or the ground. Each successful pass through a pair of pipes increases your score. The game ends when the bird collides with an obstacle, and it also concludes when the bird reaches the maximum score.
Contributions are welcome! If you'd like to improve this project, feel free to:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/YourFeatureName
-
Commit your changes:
git commit -m "Add some feature" de
-
Push to the branch:
git push origin feature/YourFeatureName
5.Open a pull request:
- Please ensure your code follows the existing style and includes appropriate documentation.