Skip to content

jonnytracker/Flappy-Bird-RL

Repository files navigation

Flappy-Bird-RL

This is a Flappy Bird Game Gymnasium Environment and Stable_Baselines3 RL agent to learn external screen observation CNNpolicy learning. Most tutorials and examples are memory environment. This is an experimental project to read and play web external games

The game is hosted at https://flappybird.io Hosted and maintained by https://twitter.com/mxmcd

  1. Used DXCAM for high performance screen grab at 60 fps
  2. Using pynput module for performance as pyautogui.keypress slows the frame rate
  3. The environment is using pixel grab of screen to check game state done/reset (for performance)

The challenge in external environment is game performance and FPS...

NOTE: The RL is ready to train but the gym environment is not perfect yet

Program Entry main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages