Skip to main content

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

  1. Then something that’s beautiful.

  2. 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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chessboard-0.2.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distributions

chessboard-0.2.0-py2.7.egg (10.8 kB view details)

Uploaded Source

chessboard-0.2.0-py2-none-any.whl (13.0 kB view details)

Uploaded Python 2

File details

Details for the file chessboard-0.2.0.tar.gz.

File metadata

  • Download URL: chessboard-0.2.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for chessboard-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0fe025098e47a29cf112c539b9b15bd43a0dfb82191194729d5928dff377890f
MD5 34ea899c18fc3b8a6ff4d2d48209f850
BLAKE2b-256 8ed7109272ebc8eeb57f0bf6a48da277bb4466522dfebb2e7df37a98657aba8a

See more details on using hashes here.

File details

Details for the file chessboard-0.2.0-py2.7.egg.

File metadata

File hashes

Hashes for chessboard-0.2.0-py2.7.egg
Algorithm Hash digest
SHA256 39cd39d8a84e6ba2088b7a9f1de3a20a9fee758d7e4aca5c2b1aba823eb64f94
MD5 48530b25c62b3cc6a3a09d28ef151671
BLAKE2b-256 f4cddcd0e30a50b2b95cfc6d7b68f0c8f0ce6d9b0b80f62540d7ad780b198882

See more details on using hashes here.

File details

Details for the file chessboard-0.2.0-py2-none-any.whl.

File metadata

File hashes

Hashes for chessboard-0.2.0-py2-none-any.whl
Algorithm Hash digest
SHA256 9cffcf528a19e25754a2558d01e46820bece192eba5123fcf30be06831fcd6d0
MD5 e90f79600c39b3ca61698ce1d6698bf7
BLAKE2b-256 0d285d6d6d316963df2223857f4a952d9197efef52ac6abd5315238e4ff4eb44

See more details on using hashes here.

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