Skip to main content

GameBoy Learning Environment (GLE)

For installing the package you can:

pip install GameBoyLearningEnvironment

We provide also a set of ROM states, available in the states folder. For a description of them look at the paper Supplementary Material.

Here a simple example of how to use our library:

from gle import create_env, PokemonBlueRed

# calling the create_env function
env = create_env('environment_name')
# or by invocaking the environment class
env = PokemonBlueRed(load_path='states/pokemon_red/pokemon_red_squirtle_after_rival_battle.state', window_type=window_type, max_actions=1000)

To cite the article please use:

@article{fazzari2025game,
  title={The Game Boy Learning Environment},
  author={Fazzari, Edoardo and Romano, Donato and Falchi, Fabrizio and Stefanini, Cesare},
  journal={IEEE Transactions on Games},
  year={2025},
  publisher={IEEE}
}

Metadata

Release files for GameBoyLearningEnvironment 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for GameBoyLearningEnvironment 1.0.1
File Size Uploaded
gameboylearningenvironment-1.0.1.tar.gz 3.8 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for GameBoyLearningEnvironment 1.0.1
File Interpreter ABI Platform
GameBoyLearningEnvironment-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 MB

Release files / gameboylearningenvironment-1.0.1.tar.gz

Download URL gameboylearningenvironment-1.0.1.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
bb0838e0c3f9fcad780a6d8d565448a5c6864be2406bbfa55f44884e678fe466
BLAKE2b-256 checksum
How to use checksums
a539ff6631b9dff144f81a6994105cda4673131fe92533f6bcd075e9df3aef73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release files / GameBoyLearningEnvironment-1.0.1-py3-none-any.whl

Download URL GameBoyLearningEnvironment-1.0.1-py3-none-any.whl
Size 3.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c3d84fdc29804dcd3ac97c17a2e27fa0320c5265e2163a21c0075af12fe0c043
BLAKE2b-256 checksum
How to use checksums
65f0d769c9995af0eb9d873ff8fad5f077b3962001c4b9dbe481b935d9bf465a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page