Skip to main content

A Sudoku environment for Reinforcement Learning research

Project description

[!warning] Under active development...Expect frequent code changes....

pip install gymnasium_sudoku==0.1.11
import gymnasium_sudoku
import gymnasium as gym

env = gym.make("sudoku-v0",render_mode="human",horizon=300)
env.reset()
steps = 100

for n in range(steps):
    env.step(env.action_space.sample())
    env.render() 

And for training :

env = gym.make("sudoku-v0",horizon=300)
# It is better not to call .render() during training 

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

gymnasium_sudoku-0.1.14.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.

gymnasium_sudoku-0.1.14-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file gymnasium_sudoku-0.1.14.tar.gz.

File metadata

  • Download URL: gymnasium_sudoku-0.1.14.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for gymnasium_sudoku-0.1.14.tar.gz
Algorithm Hash digest
SHA256 0d1efb7314ce32af99df6369ad3d7dbb11f74f911fe820599e4e15def9bad743
MD5 db639c7c5c13fb8e2b2349dcc3d844ca
BLAKE2b-256 536a82f6d01fd23e19f4a865dc385d0ca753ab025abfff346e7eedc68e5cc8a2

See more details on using hashes here.

File details

Details for the file gymnasium_sudoku-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for gymnasium_sudoku-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 ab97fc73bf6a92112a170668117811a67ae195543ae69ba93f40d0620b756be0
MD5 8ff60825cd68cd5163d97d5ab9badcb9
BLAKE2b-256 d45ebc53b9bec4b911380a4d8eaaf7f0be83ed544c4552716747272741777eb3

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