Flappy Bird Game in Swift
Created by Son Nguyen in 2024, this project is a whole new version of the popular mobile game Flappy Bird, developed using Swift and SpriteKit for iOS. The game aims to replicate the original's gameplay, featuring a bird that the player navigates between a series of obstacles by tapping the screen to make the bird fly. The goal is to achieve the highest possible score by avoiding the pipes.
Features
- Classic Flappy Bird gameplay
- Score tracking with high score memory
- Simple tap control
- Endless game mode (for now)
- Sound effects and background music
Requirements
- iOS 14.0+
- Xcode 12.0+
- Swift 5.3+
- SpriteKit Framework
Installation
To run this game on your device, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/hoangsonww/Flappy-Bird-Game.git
-
Open the project in Xcode:
open FlappyBirdGame.xcodeproj
-
Select your target device or simulator. Ideally, use an iPhone with iOS 14.0 or later for the best experience.
-
Press Cmd + R
to build and run the project on your selected device or simulator.
-
Play the game and enjoy! If you wish to display FPS and node count, press Cmd + F
to toggle the debug information.
How to Play
- Tap anywhere on the screen to make the bird flap its wings and fly.
- Avoid the pipes by flying through the gaps between them.
- The game ends if the bird touches the pipes or falls to the ground.
- Try to beat your highest score!
Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
To contribute to Flappy Bird Game Clone, follow these steps:
- Fork the project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
).
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
).
- Push to the Branch (
git push origin feature/AmazingFeature
).
- Open a Pull Request.
License
This project is distributed under the MIT License. See LICENSE for more information.
Acknowledgements
Created with โค๏ธ by Son Nguyen in Spring 2024.