A gym environment for playing 2048.
Project description
ash2048
Implementation of the 2048 Game for Gym Environments with state rendering through PyGame.
Usage and Notes:
The package follows gymnasium conventions.
To render the board while playing, set display=True
in the constructor.
To save the render to a gif, set save_animation=True
in the constructor.
To save the generated animation to a file, call save_render(filename)
where the filaname is the outfile gif file.
The animation is reset upon calling reset()
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ash2048-1.0.0.tar.gz
(1.2 MB
view hashes)