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:
-
Clone this repository: https://github.com/CodeGeek04/flappy-bird-reinforcement-learning 🔍
-
Navigate to the repository: cd flappy-bird-reinforcement-learning
-
Install the required packages: pip install requirements.txt
-
Run the game: python aflappy_bird.py
-
Wait for a few epochs to see change in performance of agents. Tune hyperparameters according to usage