A package that solves an unblockme puzzle for you
Project description
unblockme
A Python package that solves unblockme puzzles for you
To install:
pip install unblockme
Example puzzle:
Example State Representation:
- each block is represented by a letter
- the Red target block is represented by an X
state = '''
AAAB
CDDBEE
CXXB F
C GHHF
G IF
JJJ I
'''
Example Usage:
from unblockme import unblockme
state = '''
AAAB
CDDBEE
CXXB F
C GHHF
G IF
JJJ I
'''
unblockme(state)
# watch the solution get animated in front of you
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unblockme-0.0.3.tar.gz
(32.8 kB
view details)
Built Distribution
File details
Details for the file unblockme-0.0.3.tar.gz
.
File metadata
- Download URL: unblockme-0.0.3.tar.gz
- Upload date:
- Size: 32.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b57e089fecf62b557c30057f721b3a16cf8a15f393dd4737fcad5f03be1a92e0 |
|
MD5 | 1d756b0f2be40d764745e1c02194c72d |
|
BLAKE2b-256 | 23453e39d1ee5839d801a6d51af62ed2f5d60821733e88b7b45fb28ff170b500 |
File details
Details for the file unblockme-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: unblockme-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9490eef51ba77ee691b331b3c84f2e40c87975a6973f83f991b9db764a3f43f9 |
|
MD5 | 0411f20e1205548be35359c0437b065e |
|
BLAKE2b-256 | 31981ddb6db6c56c86914f3529d1cf5099b1b438105c8ee26f0700d1f03112cf |