Suko is a popular logic-based number-placement puzzle where the objective is to fill a 3x3 grid with digits that compose the grid (often called regions or boxes) contain all of the digits from 1 to 9 without repetition; this generator is able to generate a complete suko item with random digits, sums and color patterns
Project description
suko
Suko (a modified Sudoku game) is a popular logic-based number-placement puzzle where the objective is to fill a 3x3 grid with digits that compose the grid (often called regions or boxes) contain all of the digits from 1 to 9 without repetition.
Base position:
| 1 | 2 | 3 |
|---|---|---|
| 4 | 5 | 6 |
| 7 | 8 | 9 |
Present as array: [1, 2, 3, 4, 5, 6, 7, 8, 9]
This generator is able to generate a random pattern (digits) with sums and color hints.
install via pip:
pip install suko
check user manual:
suko -h
execute generator:
suko g
output example
Random Pattern (Answer): [8, 2, 3, 6, 7, 9, 5, 1, 4]
Sums: [23, 21, 19, 21]
Color Range (Green, Orange, Yellow): (2, 4, 3)
Color Pattern: [2, 7, 5, 9, 1, 3, 4, 8, 6]
Green : 7
Orange: 22
Yellow: 16
how to read the output above
Random pattern as possible answer (or seed):
| 8 | 2 | 3 |
|---|---|---|
| 6 | 7 | 9 |
| 5 | 1 | 4 |
Color pattern filled as:
| O | G | O |
|---|---|---|
| Y | O | Y |
| G | Y | O |
full review mode:
suko f
play mode (hidden seed):
suko p
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file suko-0.7.tar.gz.
File metadata
- Download URL: suko-0.7.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3f15973ae1f8d17a169de5bfa4f0a2a88a0fe06b045cf7f1a238eec6d4a6ca9
|
|
| MD5 |
e28c9b8b7d4b4f6f08e62c9c7ca22d94
|
|
| BLAKE2b-256 |
daf533b2eae9f39dd80e7c37c473dd02f60c263cbb9bc2c81f8201e3acf8cb8b
|
File details
Details for the file suko-0.7-py2.py3-none-any.whl.
File metadata
- Download URL: suko-0.7-py2.py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec2ce5ad722c819deccc83ac2079f625c2a6fc99a26fe0305422c7cfcef49849
|
|
| MD5 |
432a85c670d9250775276c0fa20a5901
|
|
| BLAKE2b-256 |
9b3bf4363a83129ef39d07709cedebe14d1c59947d70d8f01152d2d9b8169690
|