|
|
|
|
|
by SamBam
753 days ago
|
|
This is very cool, I'm enjoying it. One small note: I tried to castle, and was told "Castling is not allowed because your king was previously in check." This isn't one of the rules of castling in regular chess. [1] Also, it would be nice to implement the three-same-position draw, since I got trapped in a cycle of just moving my king back and forth forever. 1. https://en.wikipedia.org/w/index.php?title=Castling#Requirem... |
|
Thanks a lot for the correction regarding castling. I did look up this page a fair bit when implementing this, and I swear I had seen the rule that castling wasn't possible if the kind had been in check. But looks like I was dreaming. So I'll fix that shortly.
For the three-same-position draw, yes, it's on my list. It was really low priority, but your comment makes me move this up the list. I had improved the bot so that it would be better during the end game, thinking that would avoid the need for this rule, but it looks like that doesn't work all the time (which shouldn't be surprising). So yes, I'll work on that as well,
That's great feedback, thanks a ton.