breakthecode
Break The Code board game helper script
This script lists all the possible solutions to break the code, according to provided constraints.
Install
Easy: pip install breakthecode
Usage
usage: breakthecode [-h] [--remove DC] [--sum T[,I[,L[,C]]]] [--position N,I] [--odd O] [--even E] [--black B] [--white W] [--diff D] [--digit I<=>V] [--pairs P]
BreakTheCode board game helper
optional arguments:
-h, --help show this help message and exit
--remove DC, -r DC number that can't be part of the solution (e.g. 0b, 6w, 5)
--sum T[,I[,L[,C]]], -s T[,I[,L[,C]]]
add a sum constraint (T=total, I=start, L=length, C=color)
--position N,I, -p N,I
add a position constraint (N=number, I=position)
--odd O, -o O add an odd numbers count constraint
--even E, -e E add an even numbers count constraint
--black B, -b B add a black numbers count constraint
--white W, -w W add a white numbers count constraint
--diff D, -d D add a max-min diff constraint
--digit I<=>V, -D I<=>V
add a digit comparison constraint (I=index, V=value)
--pairs P, -P P add a pairs count contraint
Metadata
Release files for breakthecode 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| breakthecode-1.0.0.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| breakthecode-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.3 kB
Release files / breakthecode-1.0.0.tar.gz
| Download URL | breakthecode-1.0.0.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
863a085a71ba5302e7e0c1077697df4efa906ecc349a3402605952a7b57417c2
|
|
BLAKE2b-256 checksum How to use checksums |
04e81b2892b3ba9526e0099ce7c557d846426da3d3beb2c2ee17b8c0f3eb6d35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / breakthecode-1.0.0-py3-none-any.whl
| Download URL | breakthecode-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
060041d39bd76eda7aaec0dc6bf2021ad51168de3d49278117dd964e3944acb6
|
|
BLAKE2b-256 checksum How to use checksums |
eb9d274130b6526d776f0aed629227055405353699d50b9d5d016dbfebddb0ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|