A simple snake environment with 18 states and 4 actions
Project description
Simple snake environment with 18 states and 4 actions.
Usage
pip install snake_environment
from snake_environment import SnakeGame
env = SnakeGame()
# enable rendering
env = SnakeGame(render=True)
Play it yourself
from snake_environment import play_game
play_game()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snake_environment-0.2.tar.gz
(5.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snake_environment-0.2.tar.gz.
File metadata
- Download URL: snake_environment-0.2.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d524049b61f3f33be6e657772acdc2254435b01be137e0bc2effb83b93a7a596
|
|
| MD5 |
e4bda44df50550579218a75f178672b6
|
|
| BLAKE2b-256 |
9e8173d86b5911e0c77008e71b2d39bb7c335cf21f0eab5b3a2af9aacc51a8f3
|
File details
Details for the file snake_environment-0.2.0-py3-none-any.whl.
File metadata
- Download URL: snake_environment-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec55866fcd5df509c1f530ab58b1cb272cb94828c46758430ae8aa61635ab4ae
|
|
| MD5 |
c703943ba68d25e5f753ee3056c6bdcc
|
|
| BLAKE2b-256 |
5d6462c202faed888880381b7981a2ba62a42d30685345e3eb136dba37849ed6
|