diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-08-20 15:50:26 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-08-20 15:50:26 +0300 |
commit | 9af05c593f57060d2532d80556ab1bc306660dc0 (patch) | |
tree | 1b4dcb71997fa8d43863a9f8022268b3aad7d42d /src/pieces.h | |
parent | 0725b563b85ba516b5dd7b104112ee0637ec57f5 (diff) | |
download | c-chess-9af05c593f57060d2532d80556ab1bc306660dc0.tar.gz |
fix: do not allow pawn jump through pieces
Diffstat (limited to 'src/pieces.h')
-rw-r--r-- | src/pieces.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pieces.h b/src/pieces.h index f975190..fd0abaf 100644 --- a/src/pieces.h +++ b/src/pieces.h @@ -35,9 +35,6 @@ int kingMoves[] = { 17, 16, 15, 1, -1, -15, -16, -17, 0 }; int pawnMoves[] = { 16, 0 }; int blackPawnMoves[] = { -16, 0 }; -int newPawnMoves[] = { 32, 16, 0 }; -int newBlackPawnMoves[] = { -32, -16, 0 }; - int pawnAttackMoves[] = { 17, 15, 0 }; int blackPawnAttackMoves[] = { -17, -15, 0 }; |