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.6.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.6-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pikafish_terminal-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 641a7e5a36c9db9c00228631b1dcd882e91d8c8004c733264eef284c35b513ce
MD5 b8b02c0c8e0bcd0d0be2732db9d9fd47
BLAKE2b-256 5de5e9548990bece9b2461f95da8418bb074184ab14479e4652ed14a9e7d33cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pikafish_terminal-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 68059ffe19de1662fb6b032e615f9278c7b572935391fdd02ac3c0ca2ddfa201
MD5 b2d375852af9fcacb927676d0c604925
BLAKE2b-256 65d9039f70c7de381e47d6f27e88c22cbb27d5cfe97159b799ca887c9d5e8158

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