Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 840 Bytes

File metadata and controls

37 lines (29 loc) · 840 Bytes

Flappy Bird (Python)

A simple Flappy Bird clone built with Python and Pygame.

Features

  • Classic Flappy Bird gameplay
  • Score tracking and high score
  • Simple graphics (no external assets required)

Requirements

  • Python 3.7+
  • Pygame 2.0+

Setup

  1. Install dependencies:
    pip install -r requirements.txt
  2. Run the game:
    python flappy_bird.py

Controls

  • Spacebar: Make the bird jump
  • Spacebar (after game over): Restart the game
  • Close window: Quit the game

How to Play

  • Press the spacebar to make the bird flap and avoid hitting the pipes or the ground.
  • Each time you pass through a set of pipes, your score increases by 1.
  • The game ends if you hit a pipe or the ground/ceiling.
  • Try to beat your high score!

Created for fun using Python and Pygame.