Cloned Games

Flappy Bird for Gymnasium

SporadicPlayableNone

Based on Flappy Bird

Flappy Bird for Gymnasium screenshotLinks, repository & details

About

Flappy Bird for Gymnasium is a Python package that wraps a Flappy Bird implementation as a Gymnasium reinforcement-learning environment. It offers two observation modes — a 180-point LIDAR-style sensor or a set of numeric features (pipe positions and player position, velocity and rotation) — a two-action action space (do nothing or flap), and a reward scheme with small per-frame survival rewards, a bonus for passing pipes, and penalties for dying or hitting the ceiling.

How it differs from the original

Unlike a game meant for a human to play, this project is structured primarily as a machine-learning research environment, exposing the game through Gymnasium's observation/action/reward interface. Its command-line tool adds random-agent and trained-agent play modes alongside ordinary human play.

Getting started

It can be installed via pip. Running its command-line tool plays the game by hand by default; the same tool also has modes to watch a random agent or a trained deep-Q-network agent play instead, and it can be imported as a standard Gymnasium environment for training your own agent.

Credits & contributing

  • The game's logic and graphics are based on the flappy-bird-gym project by GitHub user Talendar.

Additional notes

External link
One of the LIDAR observation options is based on the paper 'Playing Flappy Bird Based on Motion Recognition Using a Transformer Model and LIDAR Sensor.'
Share:

More like Flappy Bird for Gymnasium

Active
Ebitengine screenshot
Ebitengine is an open-source, cross-platform 2D game engine for Go, with simple APIs for graphics, input, and audio across many platforms.
Platforms:Web
Stars13,485
Updated1 month ago
LicenseApache-2.0
Release2013
Archived
Clumsy Bird screenshot
A Flappy Bird clone built with the MelonJS engine, playable in the browser, with a customization guide included for reskinning it.
Platforms:Web
Stars1,622
Updated8 years ago
LicenseGPL-3.0
Release2014
Halted
FlappyVird screenshot
FlappyVird is a Flappy Bird clone implemented as a Vim plugin, released under the MIT license.
Platforms:Vim
Stars232
Updated12 years ago
LicenseUnknown
Release2014
Halted
CrappyBird screenshot
A JavaScript clone of Flappy Bird built with the Canvas 2D API, released under the MIT license.
Platforms:Web
Stars58
Updated2 years ago
LicenseUnknown
Release2014
Halted
Rusty Bird screenshot
A weekend-project Flappy Bird clone in Rust with Bevy, playable in the browser, using open third-party art assets.
Platforms:Web
Stars17
Updated1 year ago
LicenseUnknown
Release2024
Halted
flappymacs screenshot
A Flappy Bird clone for Emacs, distributed as a MELPA package under the MIT license.
Platforms:Emacs
Stars13
Updated9 years ago
LicenseMIT
Release2014