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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gymnasium_sudoku-0.1.13.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.13.tar.gz
Algorithm Hash digest
SHA256 4a84c0858dcf5fee20dc6313b441a2202e8a25462c2c2f6677f37104fd22dfcb
MD5 274c0d152fd4b45b54f3ed49a43ce077
BLAKE2b-256 21bf480fd7ed4d4bd7b01d445da32d354b52099ec196944a955b74e2e4e7f26e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gymnasium_sudoku-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 663120a89b0ea36690f11cfe72475a6132b459de1cb5c8587df5d859ef505c0f
MD5 bba7e95285b1842dc2ef754350395552
BLAKE2b-256 ab4a93d882183e3f3ee379da68d1852872be84edc1d44b22c3e49171e1f1cb3e

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