chess

command module
v0.0.0-...-5fae68c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 12 Imported by: 0

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. chessboard

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL