Skip to main content

BreakTheCode board game helper

Project description

breakthecode

Break The Code board game helper script

License: MPL Checks PyPI Code style: black

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

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

breakthecode-1.0.0.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

breakthecode-1.0.0-py3-none-any.whl (12.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page