Volker Annuss wrote:Hello Uri,
here is an old perft-thread for FRC with some test positions and a description how to use perft in my engine Hermann:
http://www.vpittlik.org/wbforum/viewtopic.php?t=1404To get the faster results from Hermann you can type
- Code: Select all
perft depth <d> Hash <size in MB>
My perft is not optimized. It does things like generating thretened squares that would not be necessary for perft, so take a little time.
Greetings
Volker
Thanks
I will look at it later.
It seems to me that I have many bugs to solve:
bug 1:capturing my own pieces
my make move assumes that the move is capture if the to is not an empty square
It is correct in normal chess but not in chess960
The result is that I reduce the number of pieces of the type of the to square by 1 when it is not correct.
bug 2:pins
I assume that if the opponent does not threat the path between from and to castling is legal when it is not correct when simple
example is white king d1 rook b1 black queen a1.
the black queen does not control c1 or d1 but it does not make castling legal.
bug 3:something different
bug 1 and bug 2 do not explain the bug that I have in the position that I posted
I already corrected bug 4 that is assuming that castling are for different directions
Uri