Skip to main content

OpenAI Gym Environment for Block Sudoku

Project description

Overview

The BlockSudoku environment is for use with OpenAI Gym. Yoiu can find more details about the implementation from this webpage.

Block Sudoku is a game arranged like a traditional Sudoku board, and each "round", you place 3 tetris-like blocks on the board. They can be anywhere on the board as long as they don't collide with an existing piece on the board. An example is below:

Sample Board Arrangement

But unlike Tetris, you cannot rotate the blocks. You gain points by clearing the blocks off the board. You can clear blocks either filling up a row, column, or one of the 3x3 squares. All of the following arrangements below are valid for clearing a line or block of blocks.

Valid Clears

The game ends when you cannot place all three of the blocks you were given that round such as being left with the T-block on the board below :

invalid move example

States / Actions

Coming soon!

Installation

Installing from PyPI

pip install gym-blocksudoku

Installing from Source

git clone https://github.com/drakeor/gym-blocksudoku
cd gym-blocksudoku
pip install -e .

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

gym-blocksudoku-0.0.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

gym_blocksudoku-0.0.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file gym-blocksudoku-0.0.1.tar.gz.

File metadata

  • Download URL: gym-blocksudoku-0.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for gym-blocksudoku-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9e520d1e018c783ac11711ebd5ab47ddb88feb13864d7652f763716c25dbe125
MD5 b77ceccab20fbbae86d22520eac1651f
BLAKE2b-256 23bc1946c13d765cc8409208e50a06115950d28492e52d8b1f85c3623b1cd9bb

See more details on using hashes here.

File details

Details for the file gym_blocksudoku-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gym_blocksudoku-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for gym_blocksudoku-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 204283aea09ebe9c28a59dbf6c4630863f7b6da744af3d0600bc7d020cf557b8
MD5 d070d3b4ec9aeff7f95fc13bd421e9af
BLAKE2b-256 1b877bad17fa451d718e997a263014cdf3eb2b1b74443f741922e8db789a0513

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