Code Monkey home page Code Monkey logo

mpyflappybirdgame's Introduction

mpyFlappyBirdGame

This repository contains a Flappy Bird game implemented in Python using the Pygame library. The game provides a classic and interactive gaming experience where the player controls a bird and tries to navigate through pipes without colliding with them or the ground.

Features

  • Simple and intuitive gameplay
  • Control the bird by flapping its wings to avoid obstacles
  • Randomly generated pipes with varying heights and gaps
  • Collision detection with the ground and pipes
  • Game over screen with an option to restart the game

Installation

  1. Clone or download the repository to your local machine.
  2. Make sure you have Python 3.x installed.
  3. Install the Pygame library by running pip install pygame in your terminal.
  4. Navigate to the project directory and run python mpyFlappyBirdGame.py to start the game.

Controls

  • Press the spacebar or the up arrow key to make the bird flap its wings and fly upwards.
  • Avoid collisions with the ground and pipes to stay in the game.
  • If the bird collides with an obstacle, the game ends, and a game over screen is displayed.

Acknowledgments

The game is inspired by the original Flappy Bird game created by Dong Nguyen. The assets used in this project are sourced from various free game asset websites.

License

This project is licensed under the MIT License.

Screenshots

Gameplay Screenshot - 01 Gameplay Screenshot - 02 Game Over Screenshot

Enjoy playing Flappy Bird!

Note: This project is for educational purposes and personal enjoyment. It is not associated with the original Flappy Bird game or its creators.

mpyflappybirdgame's People

Contributors

muhit-khan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.