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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pikafish_terminal-0.0.7.tar.gz
  • Upload date:
  • Size: 135.7 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.7.tar.gz
Algorithm Hash digest
SHA256 90805e56d76cb9764118ca4f919e785ffb9495e16756945c100f317f88046ccc
MD5 1a79e318de43b3583eed47fa146182e5
BLAKE2b-256 a9e14b26c98b56e18e6b2dad2233060e5220848b521596b2964cd9e69eee4a26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pikafish_terminal-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d89537e5bf77eb1160a51d375b2671bb6880a7699f69e66db107500141b7f235
MD5 d0eab32693336134a9549fbcb27f7b32
BLAKE2b-256 31bd699bedf2d5c7e6d8939b92050ee5900e76fddca8f8af3e2e6d4407b66bc5

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