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 loaded from the built-in config.yaml file included with the package. The configuration provides default difficulty levels, 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.8.tar.gz (135.1 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.8-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pikafish_terminal-0.0.8.tar.gz
  • Upload date:
  • Size: 135.1 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.8.tar.gz
Algorithm Hash digest
SHA256 a2d7d667dac926ffff984bc58b8be90c8bcd412d0f1f0d51ce01fb09c46596ff
MD5 3dccfbc187fbf5d366c26e378579ea2a
BLAKE2b-256 9013882993aa374b59bf75b4528b570618ad71ee7f04260eba9052ded847ca14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pikafish_terminal-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f2e46f754896824725f42d2165c685cdfb858a525753a30b53f46ff352571a76
MD5 10690456419e1776952c07988b69b9b4
BLAKE2b-256 04bb8745a6c40f674616aed6660a1c0bf2a4c6b0a98ae59dce0e4b804d45075d

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