Metadata-Version: 2.1
Name: lucasmcgregor.knightstour
Version: 0.1.4
Summary: A simplistic implementation of the knights tour
License: MIT
Author: Lucas McGregor
Author-email: lucasmcgregor@gmail.com
Requires-Python: >=3.7,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown

# 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

To run a tour:
```bash
poetry run knightstour
```

## Usage

```python
from lucasmcgregor.knightstour.Knightstour import Knightstour
from lucasmcgregor.knightstour.TourReporter import TourReporter

tours = TourReporter(logging=False)
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
[MIT](https://choosealicense.com/licenses/mit/)
