Yanked
This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: depricated
Knights Tour 0.1.x
A very simple implementation of the knights tour. Intended to create a lot of data work with a little bit of code.
Installation
Use poetry to install package
poetry install knightstour-lucasmcgregor
Usage
from knightstour.Chessboard import Chessboard
from knightstour.TourReporter import TourReporter
tours = TourReporter()
board = Chessboard(x_size=8, y_size=8, reporter=tours)
board.solve_board()
print("moves checked: {0}".format(tours.moves))
print("we found {0} tours".format(tours.tours_count))
License
Release files for knightstour 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| knightstour-0.1.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| knightstour-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.4 kB
Release files / knightstour-0.1.1.tar.gz
| Download URL | knightstour-0.1.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c41819490b5458820c063360248f0ffa897be726eff71bad0576a7295151f51a
|
|
BLAKE2b-256 checksum How to use checksums |
06b71859d92b17e30edc1c1a9369a17b130522fec1ca2ba954a7a9d47fa43489
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.7.0 Darwin/20.2.0
|
Release files / knightstour-0.1.1-py3-none-any.whl
| Download URL | knightstour-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9851dbbf323bf074a71189c0b2e671cd39c8bba5b79a60bc6145db13ca1a7cbd
|
|
BLAKE2b-256 checksum How to use checksums |
02132406ba0d9691e036097db0bfd4f590b88b1e39eda277eee99c76b5263148
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.5 CPython/3.7.0 Darwin/20.2.0
|