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.12.tar.gz (5.8 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.12-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gymnasium_sudoku-0.1.12.tar.gz
  • Upload date:
  • Size: 5.8 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.12.tar.gz
Algorithm Hash digest
SHA256 994e620e6cc0e1d9b981c1b1c5cf9f21f6dfc7196b2460786782de140f0d9aae
MD5 62bdd33ec1974d80286e2fe950b54f3e
BLAKE2b-256 6e60b93d8763f697f7b4136e40e6fa925f2a264579ae94ac4dfd53f3d5315c6f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gymnasium_sudoku-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 41420018aaef8e30e572b19300601605afc123caef714732aeb51b6eb5eefddc
MD5 828ce4e7c96a28b48465d30cd79e870d
BLAKE2b-256 fa2fc2839d147bb7efbcb9b40746fea2531e91c70b198ce0f047ac9d3a9e2fcc

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