Skip to content

Add Flappy environment#582

Open
michal-kus wants to merge 4 commits into
PufferAI:4.0from
michal-kus:add-flappy-env
Open

Add Flappy environment#582
michal-kus wants to merge 4 commits into
PufferAI:4.0from
michal-kus:add-flappy-env

Conversation

@michal-kus

@michal-kus michal-kus commented Jun 10, 2026

Copy link
Copy Markdown

After opening this PR, I noticed there's an existing one, but it appears inactive. The concern raised there has been addressed here.

Observation space:

  • bird y position
  • bird vertical velocity
  • distance to the next pipe
  • next pipe gap center y
  • distance to the following pipe
  • following pipe gap center y

Rewards:

  • alive_reward = 0.01f,
  • pass_reward = 1.0f,
  • crash_reward = -1.0f,
  • center_reward = 0.03f,
image

@michal-kus michal-kus marked this pull request as ready for review June 10, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant