FlappyBird
š® A simple Flappy Bird clone made in Java using basic game development concepts like graphics, collision detection, and game loop. Great for beginners learning Java game development.
Install / Use
/learn @nxtman0z/FlappyBirdREADME
š¦ Flappy Bird ā Java Swing Game
Flappy Bird is a desktop game recreation built entirely with Java and Swing. This project mimics the mechanics of the classic mobile game, where the user controls a bird navigating through pipes to score points. The game is designed for fun, learning, and demonstrating object-oriented programming and GUI development in Java.
šÆ Project Overview
- Objective: Clone the popular Flappy Bird game using Java Swing.
- Technologies: Java, Java Swing for GUI, OOP principles.
- Outcome: A playable desktop version of Flappy Bird with smooth animations and scoring.
šļø Repository Structure
FlappyBird-Java/
āāā src/
ā āāā App.java # Main entry point to launch the game
ā āāā FlappyBird.java # Core game mechanics and rendering
āāā assets/ # Images and sound files (if used)
āāā README.md # Project documentation
āāā .gitignore
š Getting Started
ā Prerequisites
- Java Development Kit (JDK) 8 or above
- Any Java IDE (e.g., IntelliJ IDEA, Eclipse, NetBeans)
š ļø How to Run
-
Clone the Repository
git clone https://github.com/your-username/FlappyBird-Java.git cd FlappyBird-Java -
Open in Your IDE
- Import the project into your preferred Java IDE.
- Ensure that all
.javafiles are in thesrcfolder or correct package.
-
Run the Game
- Right-click
App.javaand select Run or execute:javac src/*.java java src.App
- Right-click
š¹ļø How to Play
- Press Spacebar or Up Arrow to flap the bird upward.
- Avoid hitting the top, ground, or pipes.
- Score increases with each pipe passed.
- Game Over screen displays the final score.
š® Features
- Smooth animation and bird physics
- Collision detection
- Score tracking
- Restart functionality
- Keyboard interaction
š¦ Built With
- Java SE ā Core programming language
- Java Swing ā GUI components and rendering
- Object-Oriented Programming ā Clean class structure
š§āš» Contributing
Feel free to fork the repository and propose enhancements:
- š Bug fixes
- šØ UI improvements
- š New game features (levels, sound, etc.)
š License
This project is licensed under the MIT License ā see the LICENSE file for details.
š¬ Contact
For issues or suggestions, feel free to open an issue or contact manojKumar2204(https://github.com/manojkumar2204).
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
