Skip to main content

No project description provided

Project description

clichessdrill

practice chess drills in a command line interface

Installation

from PyPI:

pip install clichessdrill

or from source:

poetry install

Play

To run and play one round:

clichessdrill

and then follow the menu options.

Custom drill training plans

The user has the option to use their own custom training plan. The layout of the drill plan is a representation of the decision tree. As an example:

{
  "name": "my drill plan",
  "play": {
    "white": {
      "c4": {
        "e5": {
          "e4": {
            "Nf6": {
              "Nc3": {}
            },
            "c5": {
              "d3": {}
            }
          }
        },
        "e6": {
          "Nc3": {}
          }
        },
        "Nf6": {
          "Nc3": {}
          }
        },
        "b6": {
          "d4": {}
        }
      }
    },
    "black": {
      "e4": {
        "c6": {}
      },
      "d4": {
        "d5": {
          "Bf4": {
            "e6": {
              "Nf3": {
                "Nf6": {}
              }
            }
          }
        }
      }
    }
  }
}

The subsections for the respective game color represent the decision branches according to which the user should respond while playing either of the sides. The decision trees can be arbitrarily deep and leaves should terminate with empty brackets {}

Example Game Play

game play 1 game play 2 game play 3

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

clichessdrill-0.2.2.tar.gz (49.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clichessdrill-0.2.2-py3-none-any.whl (56.4 kB view details)

Uploaded Python 3

File details

Details for the file clichessdrill-0.2.2.tar.gz.

File metadata

  • Download URL: clichessdrill-0.2.2.tar.gz
  • Upload date:
  • Size: 49.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for clichessdrill-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f5067ff89b5115cd8062eed824be65033133f13b669de353f163631ae5e39549
MD5 db95ec3f2c02e936c177e2ad3409b2cc
BLAKE2b-256 61426cce29f21859f2908f696cb537e76aee43919760fe1c27470d622e941c26

See more details on using hashes here.

File details

Details for the file clichessdrill-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: clichessdrill-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 56.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.6 Darwin/19.6.0

File hashes

Hashes for clichessdrill-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3ab938ad62e73fd3c422999fd84aee64efc799ed07a9e931f17bf4e1fc732f7
MD5 c1ce37d7bcd9d88304e1eca930ecca70
BLAKE2b-256 df90dda7f5646fd5cd9a732bac5af01b5ef98739ac4f3d9c39091cb4cda7d060

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page