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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

gym_blocksudoku-0.0.3-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gym_blocksudoku-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f41f58b70b381cbc00041d584f83f821e6419ba42b3ff66d9b2b20bebe5c0f22
MD5 0ea4f7dc77c312d6ed4b7e2399d00b40
BLAKE2b-256 530236fefc036d56e4b37efa50bb11dc3ccc6db56f22d114788a9b0bbda5435a

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