Skip to main content

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

Metadata

Release files for clichessdrill 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clichessdrill 0.2.2
File Size Uploaded
clichessdrill-0.2.2.tar.gz 49.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for clichessdrill 0.2.2
File Interpreter ABI Platform
clichessdrill-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 105.6 kB

Release files / clichessdrill-0.2.2.tar.gz

Download URL clichessdrill-0.2.2.tar.gz
Size 49.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f5067ff89b5115cd8062eed824be65033133f13b669de353f163631ae5e39549
BLAKE2b-256 checksum
How to use checksums
61426cce29f21859f2908f696cb537e76aee43919760fe1c27470d622e941c26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.6 Darwin/19.6.0

Release files / clichessdrill-0.2.2-py3-none-any.whl

Download URL clichessdrill-0.2.2-py3-none-any.whl
Size 56.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3ab938ad62e73fd3c422999fd84aee64efc799ed07a9e931f17bf4e1fc732f7
BLAKE2b-256 checksum
How to use checksums
df90dda7f5646fd5cd9a732bac5af01b5ef98739ac4f3d9c39091cb4cda7d060
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.6 Darwin/19.6.0

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.1.18

2 release files

0.1.17

2 release files

0.1.16

2 release files

0.1.15

2 release files

0.1.14

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page