CLI Flappy Bird

Phase 1 - Basic game mechanics

Create a Python script that simulates Flappy Bird in the command line with a 32x32 character grid and random obstacle generation.

  • Display 32x32 character grid
  • Generate random obstacles
  • Control bird movement using space key

Functional result: Bird moves through the level, obstacles appear, and collisions end the game correctly.

Phase 2 - Scoring and leaderboard

Extend the game to allow username input after a round and maintain a top 3 high score list.

  • Prompt user for username at game over
  • Calculate and save score
  • Keep top 3 high scores persistently

Functional result: Game records scores, updates leaderboard, and displays top 3 scores at the end of each round.