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.10
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.11.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.11-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gymnasium_sudoku-0.1.11.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.11.tar.gz
Algorithm Hash digest
SHA256 23a97546b2bf34681d20c258de11764157bd8658041d590960c9d101d1dea1e9
MD5 082e7f1ae1c8be06ca6a26c1db68bf13
BLAKE2b-256 5c5f95886cae572b79dc67699d733870ce0ab31d985966072c466e95b44a26d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gymnasium_sudoku-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 060cf79190c4424fe883b648a7495be0cdc0c3811cb89ba1805f04e293d13578
MD5 f2a68d09a74de2fde3274adaebfa4c2d
BLAKE2b-256 0b5c4cb46038517de603d14a4fad361d4b4756fc74d7986443e58dc92394d93d

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