Skip to main content

Generate chess positions and practise on Lichess.

Project description

Chess Gen

Latest PyPi version

Generate chess positions and practise on Lichess.

The generated positions are random, which is different to Lichess' presets.

Example

$ chessg
Generate chess positions and practise on Lichess.
╭─ Positions ─╮ ╭──────────── Commands ────────────╮
│  1  Q       │ │  h          Help                 │
│  2  R       │ │  enter      Use previous choice  │
│  3  B+B     │ │  q, Ctrl+D  Quit                 │
│  4  B+N     │ ╰──────────────────────────────────╯
│  5  Custom  │                                     
╰─────────────╯                                     
Position: 4
. . K . . . . .
. . . B . . . .
. . . . . . . .
. . . . . . . .
. . . . . . . .
. . . . k . . .
. . . . . . . N
. . . . . . . .
https://lichess.org/?fen=2K5/3B4/8/8/8/4k3/7N/8%20w%20-%20-%200%201#ai
Choice: ^D
Bye!

Installation

pip install chess-gen

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

chess_gen-1.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

chess_gen-1.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file chess_gen-1.1.0.tar.gz.

File metadata

  • Download URL: chess_gen-1.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for chess_gen-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8680ef18a7e2fdf3a48141edccb4f8b11f3489a561d65f3704d72e4a833fd7c3
MD5 7b03ce23010b74806fffdc4871c34747
BLAKE2b-256 e5c36ae25f3606528a9f9a6c682003421557fe69738863a1e00c195e6fb9230b

See more details on using hashes here.

File details

Details for the file chess_gen-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: chess_gen-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for chess_gen-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9bcfb72c68e3bfced95e0a6119339340a5952d4fa9d3b315535d722593db7a25
MD5 bdc56f0132afc587d70454b59ab5fda8
BLAKE2b-256 635ad055aa9d987d03d9df784f164b1f034d6a612972b4f15c508ac2291bbaac

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