maksimKorzh / ccbridge-arena

Cross-platform Chinese chess xiangqi GUI inspired by CCBridge and Arena
MIT License
30 stars 12 forks source link

Dump more information to 'position' command. #1

Open CGLemon opened 3 years ago

CGLemon commented 3 years ago

First, thank for your cross platform interface. I implement a chinese chess engine without graph interface. This interface is nice so I don't need to implement another graph interface which support UCI/UCCI. It saves me a lot of time.

But some sad things are that it is a lack of some important functions. The chinese chess engine must to know the game move history in order to deal with perpetual pursuit and sixty-move rule. But this interface only show the current board fen. The output result may be influenced by it. Others, It must end if it occur threefold repetition. Adding more information to 'position' command can solve this issues. Hope that you could fix the issues.

maksimKorzh commented 3 years ago

Hi @CGLemon

re: I implement a chinese chess engine without graph interface.

re: This interface is nice so I don't need to implement another graph interface which support UCI/UCCI. It saves me a lot of time.

re: But some sad things are that it is a lack of some important functions.

re: Hope that you could fix the issues.

Possible workaround:

  1. Write your own GUI from scratch (it's fun experience!)
  2. Fork ccbridge arena and implement what you feel lack of

In the latter case feel free to make a pull request. If your implementation won't violate the distinctness of the project I will accept it. Code is very simple, clear and commented. It's intentionally stands far away from "best practices" in favor of the simple enter threshold.