Project Demo

Project Details

The goal of this project was to automate the popular game "Flappy Bird" using real-time object detection. By leveraging the power of YOLOv8, the system identifies the bird's position relative to the pipes in real-time.

Logic & Implementation

  • Object Detection: YOLOv8 is trained/used to detect the specific game assets (The Bird, Upper Pipe, Lower Pipe).
  • Decision Making: The algorithm calculates the gap between pipes. If the bird's vertical position falls below a certain threshold relative to the gap, a "Jump" command is simulated.
  • Outcome: The system keeps the bird centered between obstacles, effectively playing the game indefinitely without human intervention.