Flappy-Bird-Game icon indicating copy to clipboard operation
Flappy-Bird-Game copied to clipboard

🐦 This Swift version of Flappy Bird delivers the classic tap-to-fly challenge on iOS devices. Navigate through pipes in this engaging, Swift-built game, perfect for quick, entertaining sessions on an...

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.

Table of Contents

  • User Interface
  • Features
  • Requirements
  • Installation
  • How to Play
  • Contributing
  • License
  • Acknowledgements

User Interface

The Flappy Bird Game Interface

Features

  • Classic Flappy Bird gameplay
  • Score tracking with high score memory
  • Simple tap control
  • Endless game mode (for now)
  • Sound effects and background music
  • FPS counter for easier debugging

Requirements

  • iOS 14.0+
  • Xcode 12.0+
  • Swift 5.3+
  • SpriteKit Framework

Installation

To run this game on your device, follow these very simple steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/hoangsonww/Flappy-Bird-Game.git
    
  2. Open the project in Xcode:

    open FlappyBirdGame.xcodeproj
    
  3. Select your target device or simulator. Ideally, use an iPhone with iOS 14.0 or later for the best experience.

  4. Press Cmd + R to build and run the project on your selected device or simulator.

  5. 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, follow these steps:

  1. Fork the project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature).
  3. Commit your Changes (git commit -m 'Add some AmazingFeature').
  4. Push to the Branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request if you want to merge your changes.

License

This project is distributed under the MIT License. See LICENSE for more information.

Acknowledgements


Created with ❤️ by Son Nguyen in Spring 2024. Thanks for stopping by! 🚀