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.2.0.tar.gz (6.3 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.2.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chess_gen-1.2.0.tar.gz
Algorithm Hash digest
SHA256 179bafd0d65b73034880d617a7cee418b3ceb5c1f9b70ecb5c6ffb40cdd2ac72
MD5 0f455a594ee352c970561826de3416cb
BLAKE2b-256 57a198efc502eefce2cbbf20c27f30c078bc66bef2f9ececb13fda37e1b43797

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for chess_gen-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9014857a9a368f505527ecabccb635daa0ed2ebca9a66dd8e6a70045708e4b31
MD5 9895de9047f9009450e0eeff28d72526
BLAKE2b-256 a5c2dc9fd6a6edb1155bac9de25d97f41a77f0fed3567e0d600db602a27ba794

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