/Flappy-Bird-with-Segmentation

Flappy Bird RL environment with Segmentation

Primary LanguagePythonMIT LicenseMIT

Flappy Bird RL environment with Segmentation and Detection

Installation

pip install git+git://github.com/cxy1997/Flappy-Bird-with-Segmentation.git

Usage

from Flappy_Bird_with_Segmentation import FlappyBirdSegEnv

env = FlappyBirdSegEnv()
obs, info = env.reset()
obs, reward, terminal, info = env.step(0)  # 1-flap the bird; 0-do nothing

Have fun!