Calculates Can't Stop turn scores.
Project description
Can't Stop strategy helper
Using the algorithm from Solitaire Laboratory,
cant-stop
tells you if you should stop or continue your current turn of the dice game
Can't Stop.
Usage
cant-stop
takes a list of strings of the format <roll>x<count>
where <roll>
is the roll column
and <count>
is the number of tokens placed there this turn so far. For example, if you rolled a 1,
1, 2, and 3, and chose columns 2 and 5:
~$ cant-stop 2x1 5x1
INFO:cant_stop.cli:Your score is 18
and if you next rolled a 1, 1, 6, and 6:
~$ cant-stop 2x2 5x1 12x1
INFO:cant_stop.cli:Your score is 36
Time to stop!
Installation
cant-stop
is available on PyPI:
~$ pip install python-cant-stop
...
~$ cant-stop -h
Installation from source
This assumes you have git, Python 3.9+, and poetry installed already.
~$ git clone git@gitlab.com:henxing/cant_stop.git
~$ cd cant_stop
cant_stop$ poetry install
...
cant_stop$ poetry run wordle-helper -h
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
python-cant-stop-0.2.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for python_cant_stop-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8918993e461267880cd0a27534ab2d98f3ff30153bbc693bd9afb7176cb51cc1 |
|
MD5 | b76dc18afc3df7e5df9824daa88d9532 |
|
BLAKE2b-256 | 65a29abeb5d5dad79bf5c9d9aa443bd7b55a4fa86c0eab8ccec9eeea173a71ba |