Skip to content

ahrtr/chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Chinese chess game (just for fun)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages