New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shogi Impasse rules #450
Comments
Thanks for the suggestion. I think this should be doable, considering that these rules are very clear and do not require any arbiter judgement. Do you by chance know how impasse works in handicap games or shogi variants? By design of Fairy-Stockfish I always try to make features work as generically as possible to make them easier to reuse, so would be good if the rules could be generalized. E.g., 27 is just half of the total points, but if 27 even applies in handicap games then there is no way to implicitly derive this threshold from the position but has to be hard-coded. For the 10 pieces rule I do not know the exact reasoning. Is this just a threshold from experience when the king can be considered safe? Or does this equal the number of non-pawn pieces (10) or exceed the number of pawns (9)? If you have any info regarding these points, please let me know. |
I can't say that I do know the answers to your questions, but I shall ask around. |
I do however have a list of moves that should produce an impasse situation in regular Shogi: |
Thanks, that can be useful for testing. In the meantime I found a statement on https://en.wikipedia.org/wiki/Handicap_(shogi)#Rules saying that
|
I have also been pointed to the following link which agrees with Wikipedia:
'King Entering' is Impasse. And the player giving the handicap is always 'White'. |
For later reference I just add a few more links: One topic I was also wondering about, namely whether in case of handicap the handicap giver is considered to be the first or second player (i.e., needs 28 or 27 points) seems to be controversial if I understand (the machine translation) correctly: |
Shogi has some uncommon 'Impasse' rules, which lishogi have implemented and explained here:
https://lishogi.org/explanation/impasse
Is it possible to have impasse evaluated for Shogi in Fairy-Stockfish? As an 'Optional Game End' would seem sensible.
The text was updated successfully, but these errors were encountered: