Skip to main content

A terminal-based Xiangqi (Chinese Chess) game powered by the Pikafish engine

Project description

Pikafish Terminal

Play Xiangqi (Chinese Chess) in your terminal against the Pikafish AI engine.

Install

pip install pikafish-terminal

Play

pikafish

Controls

  • Enter moves like 1013 (from position 1,0 to 1,3)
  • Type h for move hints
  • Type s to toggle score display
  • Type quit to exit

Examples

pikafish --difficulty 3     # Medium level (1-5)
pikafish --depth 10         # Custom depth
pikafish --time 2.0         # Custom time limit
pikafish --config-list      # Show all settings

Configuration

Settings are stored in config.yaml (auto-created). Edit this file to customize difficulties, hints, and display options.

That's it! The AI engine downloads automatically on first run.

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

pikafish_terminal-0.0.5.tar.gz (135.2 kB view details)

Uploaded Source

Built Distribution

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

pikafish_terminal-0.0.5-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file pikafish_terminal-0.0.5.tar.gz.

File metadata

  • Download URL: pikafish_terminal-0.0.5.tar.gz
  • Upload date:
  • Size: 135.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for pikafish_terminal-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e8560a17c62ecdfc7b6055830bcd3881c30880cb4b613cd98b171c4e98af77fb
MD5 56852c223530fa70a14fdcbd72d99134
BLAKE2b-256 0d4092b54de6a2ee18a7bfb7bd3ed324710b308ec6bd7d0c2ea75e72d8b7e119

See more details on using hashes here.

File details

Details for the file pikafish_terminal-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for pikafish_terminal-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d833f5380ea293edd468e1e66918b0ad06768d49e316fc0951ce2c32f4ba4a54
MD5 e8af5a7421ed774612fb7101405d9fe9
BLAKE2b-256 7e5e451f0c6f1af8f0aec94b1ecac9fffd968332b270a549a64672e8cc542d6b

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