Skip to content

AI learns to play flappy bird using reinforcement learning in PyTorch

Notifications You must be signed in to change notification settings

CodeGeek04/flappy-bird-reinforcement-learning

Repository files navigation

Flappy Bird 🐦 Reinforcement Learning🤖

This is a classic Flappy Bird game built using PyGame, where an AI agent learns to play the game through Reinforcement Learning powered by QLearning in PyTorch. Experience the excitement of traditional Flappy Bird, customize hyperparameters like learning rates and rewards, and track AI progress with training analytics. Easy to set up, this repository offers a glimpse of AI-driven rounds. Stay tuned for more such projects:grin::grin:

Table of Contents

Installation

  1. Clone this repository: https://github.com/CodeGeek04/flappy-bird-reinforcement-learning 🔍

  2. Navigate to the repository: cd flappy-bird-reinforcement-learning

  3. Install the required packages: pip install requirements.txt

Usage

  1. Run the game: python aflappy_bird.py

  2. Wait for a few epochs to see change in performance of agents. Tune hyperparameters according to usage

About

AI learns to play flappy bird using reinforcement learning in PyTorch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages