command
module
Version:
v0.0.0-...-5fae68c
Opens a new window with list of versions in this module.
Published: Jan 16, 2025
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
chess
Chinese chess game
How to run chess
$ ./chess -h
Usage of ./chess:
-color string
decide self color(defaults to red). (default "red")
For example,
./chess --color red (equivalent to ./chess)
./chess --color black
Chess board
- Undo button: take back a move with no limit on the number of moves
- Redo button: Revoke a take-back with no limit on the number of moves
- RunAI button: Start the AI to get its best move recommendation
- StopAI button: Stop AI
- Text input (rightmost side): The number of moves the AI will explore, defaults to 10.

Algorithms
Contribution
Any contribution is welcome!
- Most importantly, We need to enhance the speed and accuracy of the AI.
- It's only tested on MacBook (darwin/arm64), so it'd be great to test it on other platforms.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.