Python CLI to explore chessboard positions.
Project description
Chessboard
Python CLI to explore chessboard positions.
TODO
Implement a brute force algorithm.
Make algorithm faster and smarter.
Development philosophy
Then something that’s beautiful.
Finally works on performance.
Install
$ git clone git@github.com:kdeldycke/chessboard.git
$ cd ./chessboard
$ python ./setup.py develop
Usage
$ chessboard --help
Usage: chessboard [OPTIONS]
Python CLI to explore chessboard positions.
Options:
--version Show the version and exit.
-l, --length INTEGER Length of the board.
-h, --height INTEGER Height of the board.
-v, --verbose Print much more debug statements.
--king INTEGER Number of kings to add to the board.
--help Show this message and exit.
Unit-tests
$ python ./setup.py nosetests
Third-party
This project package’s boilerplate is sourced from the code I wrote for Scaleway’s postal-address module, which is published under a GPLv2+ License.
The CLI code is based on the one I wrote for the kdenlive-tools module, published under a BSD license.
License
This software is licensed under the GNU General Public License v2 or later (GPLv2+).
ChangeLog
0.2.1 (2015-08-11)
Fix King displacement map.
0.2.0 (2015-08-11)
Allow initialization of board pieces.
Implement brute-force solver.
0.1.1 (2015-08-08)
Package re-release to fix bad version number.
0.1.0 (2015-08-08)
First public release.
Implements a CLI to inititalize the chessboard.
0.0.0 (2015-08-08)
First commit.
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
Built Distributions
File details
Details for the file chessboard-0.2.1.tar.gz
.
File metadata
- Download URL: chessboard-0.2.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f235f451bd790f1262623f4a39e92269fbabd59af17b777ca36216e4d4d741 |
|
MD5 | 0a79f18879ed2bbe94f5207a2503653c |
|
BLAKE2b-256 | 4ab1212370ae25c23fcdd6fa7e4bd0fd475eef4a82dafafd87c983468a286b03 |
File details
Details for the file chessboard-0.2.1-py2.7.egg
.
File metadata
- Download URL: chessboard-0.2.1-py2.7.egg
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6541397972edb2ff031e39c0147d8ddc0acd372c806d028422405917b41026f5 |
|
MD5 | 894f7c64b44edccd5de68f6662e1943d |
|
BLAKE2b-256 | 04e98fbc34ab49fcd1eebcaa3cb0bcc5be5bfb5ca0bf0fe8629919db174735ba |
File details
Details for the file chessboard-0.2.1-py2-none-any.whl
.
File metadata
- Download URL: chessboard-0.2.1-py2-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3d88fcef0a27fffc4be88128b2902e5d5c9a826b7ceff69d4b8c8e6f1f8f7c0 |
|
MD5 | 17b9642cd4a5d9da3bfb4b202d744c88 |
|
BLAKE2b-256 | f9111373294a2bde538b43f519c663b9981716be1d32d000a539480016ae3e58 |