summaryrefslogtreecommitdiff
path: root/src/pieces.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-08-18 09:58:52 +0300
committereug-vs <eugene@eug-vs.xyz>2022-08-18 10:08:21 +0300
commita389dd0562699e36c196d69c578a1f1c373a12ab (patch)
treeba4aaddf8b68d979bef8f49f3ccd0785ab9091bd /src/pieces.h
parentca2fc17834207b501b66d5c713889de029da27d6 (diff)
downloadc-chess-a389dd0562699e36c196d69c578a1f1c373a12ab.tar.gz
feat: use board coverage in metrics
Diffstat (limited to 'src/pieces.h')
-rw-r--r--src/pieces.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pieces.h b/src/pieces.h
index a88626a..f975190 100644
--- a/src/pieces.h
+++ b/src/pieces.h
@@ -33,7 +33,7 @@ int knightMoves[] = { 33, 31, 18, 14, -33, -31, -18, -14, 0 };
int kingMoves[] = { 17, 16, 15, 1, -1, -15, -16, -17, 0 };
int pawnMoves[] = { 16, 0 };
-int blackPawnMoves[] = { 16, 0 };
+int blackPawnMoves[] = { -16, 0 };
int newPawnMoves[] = { 32, 16, 0 };
int newBlackPawnMoves[] = { -32, -16, 0 };