Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snake_environment-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for snake_environment-0.2.tar.gz
Algorithm Hash digest
SHA256 d524049b61f3f33be6e657772acdc2254435b01be137e0bc2effb83b93a7a596
MD5 e4bda44df50550579218a75f178672b6
BLAKE2b-256 9e8173d86b5911e0c77008e71b2d39bb7c335cf21f0eab5b3a2af9aacc51a8f3

See more details on using hashes here.

File details

Details for the file snake_environment-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for snake_environment-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ec55866fcd5df509c1f530ab58b1cb272cb94828c46758430ae8aa61635ab4ae
MD5 c703943ba68d25e5f753ee3056c6bdcc
BLAKE2b-256 5d6462c202faed888880381b7981a2ba62a42d30685345e3eb136dba37849ed6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page