Skip to content

An implementation of the classic Flappy Bird game in Java. Avoid pipes, flap the bird, and achieve the highest score possible. A fun arcade-style game for all ages!

Notifications You must be signed in to change notification settings

abhimk11/flappy-bird-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird Game

Welcome to the Flappy Bird game! This is a simple, classic arcade game where you control a bird to avoid obstacles and achieve the highest score possible.


Game Overview

In Flappy Bird, you control a bird that must navigate through pipes. The bird is constantly falling due to gravity, and you must make it fly by pressing space or clicking the left mouse button. The goal is to fly through as many pipes as possible without hitting them.


Features

  • Simple Gameplay: Press Space or Left Click to make the bird fly.
  • Endless Mode: The game continues until the bird hits a pipe or the ground.
  • Game Over Screen: Displays the final score when the game ends.
  • Background Music and Sound Effects: Includes fun sound effects for game actions and background music.

How to Play

  1. Start the Game: Launch the application.
  2. Control the Bird: Press Space or click the Left Mouse Button to make the bird fly.
  3. Avoid Obstacles: The bird must avoid the pipes. If it hits a pipe or the ground, the game ends.
  4. Score: Each time the bird successfully passes through a set of pipes, your score increases.
  5. Game Over: When the bird crashes, the game ends, and the final score will be shown.

Installation

Prerequisites

Make sure you have Java installed on your system. This game requires Java 8 or later.

You can download Java from the official Oracle website or use OpenJDK.

Running the Game

  1. Clone or Download the repository to your local machine.
  2. Open the project in your favorite Java IDE (e.g., IntelliJ IDEA, Eclipse).
  3. Run the Application: Once the project is open, run the App.java file (or the main class that starts the game).

Controls

  • Space: Make the bird flap and move upward.
  • Left Mouse Click: Make the bird flap when clicked.

Credits


Future Improvements

  • Add different levels of difficulty.
  • Improve graphics and animations.
  • Add more sound effects.
  • Create a leaderboard to track high scores.

Enjoy the Game! 🎮

About

An implementation of the classic Flappy Bird game in Java. Avoid pipes, flap the bird, and achieve the highest score possible. A fun arcade-style game for all ages!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages