Paul Spooner
Paul Spooner
Great idea, but I think this counts as an API change. The deadline for API updates was August 1, so you may want to close this PR, as I don't...
I believe this counts as an API change, and therefore is not likely to be implemented since it is after August 1. I suggest closing this PR.
To see an example of a use for `IsInCheckmate()` look at EvilBot.cs in the MoveIsCheckmate method.
Ahh, I see. For that case, I would add a call in ChallengeController.EndGame to a temporary cleanup method in MyBot.
Made a quick PR to add this functionality. Does #330 do what you needed? @bbeallo12
> Use board.getLegalMoves(true) Specifically, the line: `Move[] allCaptureMoves = board.GetLegalMoves(true);` will give you all of your moves stored in an array variable named "allCaptureMoves". You can then iterate over these...
I will see about adding a "undo move" button to the UI in modes involving humans. Will branch off of: https://github.com/harrisi/Chess-Challenge/commit/930ba57d1dcece1104df7cb2f56c6c5d3850e763 mentioned in #202 to allow human vs. human play...
> For now my solution is > > ```cs > Board newboard = Board.CreateBoardFromFEN(board.GetFenString()); > newboard.TrySkipTurn(); > ``` > > though I'm not sure how compliant that is with the...