📝Greg Strong wrote on Tue, Jan 2, 2018 01:19 AM UTC:
I don't know how much of that ChessV is doing. E.g. does it know that KNK is a draw? Or KNNK?
No, sadly it does not. The automatic draw by insufficient material is the one official chess rule not yet implemented. It wouldn't be hard to implement the chess rule exactly, but I try not to tackle these things until I can find a general solution. From that perspective, I think this is a hard problem. How would it know if a King + WA vs. lone King in Chess w/ Different Armies should be an automatic draw? (I assume it should.) Or King + 2 WAs vs. King? (This one I'm not even sure.)
Of course a GUI would have to know the exact rules, to correctly declare game end.
Yup, this is why I care (although not enough to hold off on releasing Makruk until I get around to it, which could be a while because in terms of things that interest me this is not high on the list.)
No, sadly it does not. The automatic draw by insufficient material is the one official chess rule not yet implemented. It wouldn't be hard to implement the chess rule exactly, but I try not to tackle these things until I can find a general solution. From that perspective, I think this is a hard problem. How would it know if a King + WA vs. lone King in Chess w/ Different Armies should be an automatic draw? (I assume it should.) Or King + 2 WAs vs. King? (This one I'm not even sure.)
Yup, this is why I care (although not enough to hold off on releasing Makruk until I get around to it, which could be a while because in terms of things that interest me this is not high on the list.)