python-shogi icon indicating copy to clipboard operation
python-shogi copied to clipboard

Match after move sequence has been sent

Open YuriCat opened this issue 1 year ago • 1 comments

My sincere thanks for a great library.

In recent Shogi AI tournaments, the agents are often sent several moves before they play each other in order to adjust the time between the first and second, etc.

Your library gave me an error with CSA.py, and I rewrote it as follows and it worked fine.

-                        raise NotImplementedError("TODO: parse moves")
+                        pass

If you could provide a formal update to resolve this problem, it would make it easier to use in future AI competitions.

YuriCat avatar Jun 26 '24 18:06 YuriCat

Thank you for your comment. It would be grateful if someone write a patch to handle the case well not just ignoring it. The first step would be just logging the moves and not raising an exception.

gunyarakun avatar Jun 27 '24 04:06 gunyarakun