{"id":23810549,"url":"https://github.com/nipuna-lakruwan/flappy-bird-java","last_synced_at":"2026-07-03T06:03:07.913Z","repository":{"id":264376160,"uuid":"893195153","full_name":"Nipuna-Lakruwan/Flappy-Bird-Java","owner":"Nipuna-Lakruwan","description":"Flappy Bird Game in java","archived":false,"fork":false,"pushed_at":"2024-11-23T20:04:56.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T18:17:35.566Z","etag":null,"topics":["flappy-bird-game","java"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nipuna-Lakruwan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-23T19:29:42.000Z","updated_at":"2024-11-23T20:04:59.000Z","dependencies_parsed_at":"2024-11-23T22:45:11.197Z","dependency_job_id":"fb108c55-4b21-4b09-b480-4d03b1a09dd7","html_url":"https://github.com/Nipuna-Lakruwan/Flappy-Bird-Java","commit_stats":null,"previous_names":["nipuna-lakruwan/flappy-bird-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nipuna-Lakruwan/Flappy-Bird-Java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nipuna-Lakruwan%2FFlappy-Bird-Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nipuna-Lakruwan%2FFlappy-Bird-Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nipuna-Lakruwan%2FFlappy-Bird-Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nipuna-Lakruwan%2FFlappy-Bird-Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nipuna-Lakruwan","download_url":"https://codeload.github.com/Nipuna-Lakruwan/Flappy-Bird-Java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nipuna-Lakruwan%2FFlappy-Bird-Java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260924533,"owners_count":23083524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flappy-bird-game","java"],"created_at":"2025-01-02T00:15:33.156Z","updated_at":"2025-10-30T02:41:13.168Z","avatar_url":"https://github.com/Nipuna-Lakruwan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flappy Bird Java\n\nThis is a simple Flappy Bird game clone implemented in Java using Swing for the graphical user interface. The game involves navigating a bird through a series of pipes without colliding with them.\n\n## Features\n\n- **Graphics**: The game uses simple 2D graphics to render the bird, pipes, and background.\n- **Game Mechanics**: The bird moves upwards when the spacebar is pressed and falls due to gravity. Pipes move from right to left, and the player scores points by successfully passing through them.\n- **Collision Detection**: The game detects collisions between the bird and pipes, ending the game if a collision occurs.\n- **Score Tracking**: The player's score is displayed on the screen, and the game ends with a \"Game Over\" message showing the final score.\n\n## Getting Started\n\n### Prerequisites\n\n- Java Development Kit (JDK) 8 or higher\n- An IDE or text editor for Java development (e.g., IntelliJ IDEA, Eclipse, VSCode)\n\n### Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/Nipuna-Lakruwan/Flappy-Bird-Java.git\n   ```\n\n2. **Navigate to the project directory**:\n   ```bash\n   cd Flappy-Bird-Java/Flappy\\ Bird\\ Game/src\n   ```\n\n3. **Run the application**:\n   ```bash\n   java App\n   ```\n\n### Project Structure\n\n  - App.java: This is the entry point of the application. It sets up the main game window and initializes the FlappyBird game panel.\n  - FlappyBird.java: This file contains the main game logic, including rendering graphics, handling user input, and managing game state.\n\n\n### How to Play \n\n  - Press the spacebar to make the bird jump.\n  - Avoid hitting the pipes as they move across the screen.\n  - The game ends when the bird collides with a pipe or the ground.\n  - Your score increases by 1 for each set of pipes you pass.\n\n\n## Assets\n\nThe game uses the following image assets:\n\n  - flappybirdbg.png: Background image\n  - flappybird.png: Bird image\n  - toppipe.png: Image for the top pipes\n  - bottompipe.png: Image for the bottom pipes\n\nEnsure these images are located in the same directory as the compiled Java files for the game to load them correctly.\n\n### License\n\nThis project is open-source and available under the MIT License. Feel free to use, modify, and distribute it as you wish.\n\n### Acknowledgments \n\n  - Inspired by the original Flappy Bird game.\n  - Developed by Nipuna Lakruwan.\n\nFor any questions or contributions, please feel free to reach out or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnipuna-lakruwan%2Fflappy-bird-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnipuna-lakruwan%2Fflappy-bird-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnipuna-lakruwan%2Fflappy-bird-java/lists"}