diff --git a/CuckooChessEngine/src/book.bin b/CuckooChessEngine/src/book.bin index b53cf37..aa3fa51 100644 Binary files a/CuckooChessEngine/src/book.bin and b/CuckooChessEngine/src/book.bin differ diff --git a/CuckooChessEngine/src/book.txt b/CuckooChessEngine/src/book.txt index 2bc0569..6394cb1 100644 --- a/CuckooChessEngine/src/book.txt +++ b/CuckooChessEngine/src/book.txt @@ -117,6 +117,7 @@ e4 c5 Nf3 e6 d4 cxd4 Nxd4 Nf6 Nc3 d6 Be2 a6 O-O Be7 f4 O-O e4 c5 Nf3 e6 d4 cxd4 Nxd4 Nc6 Nc3 Qc7 Be3 a6 Bd3 Nf6 O-O Ne5 h3 Bc5 Qe2 d6 e4 c5 Nf3 e6? Nc3 Nc6 d4 cxd4 Nxd4 Qc7 Be3 a6 Qd2 Nf6 O-O-O Be7 e4 c5 Nc3 Nc6 Nge2 g6 d4 cxd4 Nxd4 Bg7 Be3 Nf6 Bc4 O-O Bb3 d6 +e4 c5 Nc3 Nc6 f4 d6 Nf3 g6 Bb5 Bd7 O-O Bg7 d3 a6 Bc4 Na5 e5 Nxc4 dxc4 Be6 e4 c5 Nc3? Nc6 g3 g6 Bg2 Bg7 d3 d6 f4 e6 Nf3 Nge7 O-O O-O e4 c5 Nc3? e6 Nf3 Nc6 d4 cxd4 Nxd4 Qc7 Be2 a6 O-O Nf6 Be3 Bb4 e4 c5 Nc3? a6 Nf3 d6 d4 cxd4 Nxd4 Nf6 diff --git a/CuckooChessEngine/src/chess/Evaluate.java b/CuckooChessEngine/src/chess/Evaluate.java index 93a1864..eec2bcd 100644 --- a/CuckooChessEngine/src/chess/Evaluate.java +++ b/CuckooChessEngine/src/chess/Evaluate.java @@ -860,6 +860,7 @@ public class Evaluate { } private final int kingSafetyKPPart(Position pos) { + // FIXME!!! Try non-linear king safety final long key = pos.pawnZobristHash() ^ pos.kingZobristHash(); KingSafetyHashData ksh = kingSafetyHash[(int)key & (kingSafetyHash.length - 1)]; if (ksh.key != key) {