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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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