Version 1.20 (bug fix in repetition detection)
This commit is contained in:
parent
4ef9025ebf
commit
320ffbdc97
3 changed files with 3 additions and 1 deletions
|
@ -97,6 +97,7 @@ namespace ChessChallenge.API
|
||||||
repetitionTable.TryPop();
|
repetitionTable.TryPop();
|
||||||
board.UndoMove(new Chess.Move(move.RawValue), inSearch: true);
|
board.UndoMove(new Chess.Move(move.RawValue), inSearch: true);
|
||||||
OnPositionChanged();
|
OnPositionChanged();
|
||||||
|
depth--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ namespace ChessChallenge.Application
|
||||||
{
|
{
|
||||||
public static class Settings
|
public static class Settings
|
||||||
{
|
{
|
||||||
public const string Version = "1.19";
|
public const string Version = "1.20";
|
||||||
|
|
||||||
// Game settings
|
// Game settings
|
||||||
public const int GameDurationMilliseconds = 60 * 1000;
|
public const int GameDurationMilliseconds = 60 * 1000;
|
||||||
|
|
|
@ -23,6 +23,7 @@ It has been necessary to make some bug fixes to the original project, and I've a
|
||||||
* <b>V1.17</b> Added `BitboardHelper.GetPieceAttacks()` and optimized `board.SquareIsAttackedByOponent()`. Writing `#DEBUG` in a comment will now exclude code in that line from counting towards the token limit (for testing only of course).
|
* <b>V1.17</b> Added `BitboardHelper.GetPieceAttacks()` and optimized `board.SquareIsAttackedByOponent()`. Writing `#DEBUG` in a comment will now exclude code in that line from counting towards the token limit (for testing only of course).
|
||||||
* <b>V1.18</b> Added `timer.IncrementMilliseconds` (this will be 0 for the main tournament, but a small increment may be used in the final playoff games). Fixed a bug in the repetition handling, and optimized check/stalemate detection.
|
* <b>V1.18</b> Added `timer.IncrementMilliseconds` (this will be 0 for the main tournament, but a small increment may be used in the final playoff games). Fixed a bug in the repetition handling, and optimized check/stalemate detection.
|
||||||
* <b>V1.19</b> Fixed potential out of bounds exception. Fixed bug in stalemate detection.
|
* <b>V1.19</b> Fixed potential out of bounds exception. Fixed bug in stalemate detection.
|
||||||
|
* <b>V1.20</b> Fixed (another) bug in the repetition detection.
|
||||||
|
|
||||||
[There will be no API changes after August 1]
|
[There will be no API changes after August 1]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue