-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfixes + performance; improved scoring; perft
* fixed possible bug in PV calc * implemented "go perft <depth>" command * improved scoring * code review * fixed PGN parsing with simple pawn move + promotion
- Loading branch information
1 parent
3dddbd1
commit bf50fdf
Showing
30 changed files
with
483 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
namespace SicTransit.Woodpusher.Common.Lookup | ||
{ | ||
public class ThreatMasks | ||
{ | ||
public ulong Pawn { get; } | ||
public ulong Rook { get; } | ||
public ulong Knight { get; } | ||
public ulong Bishop { get; } | ||
public ulong Queen { get; } | ||
public ulong King { get; } | ||
public ulong Any { get; } | ||
|
||
public ThreatMasks(ulong pawn, ulong rook, ulong knight, ulong bishop, ulong queen, ulong king) | ||
{ | ||
Pawn = pawn; | ||
Rook = rook; | ||
Knight = knight; | ||
Bishop = bishop; | ||
Queen = queen; | ||
King = king; | ||
Any = pawn | rook | knight | bishop | queen | king; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.