summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/board.cpp b/board.cpp
index c49339a..75579e0 100644
--- a/board.cpp
+++ b/board.cpp
@@ -13,15 +13,15 @@ static inline int homerowY(int clr) {
Board::Board() {
- bd[0] = -ROOK; bd[1] = -KNIGHT; bd[2] = -BISHOP; bd[3] = -KING;
- bd[4] = -QUEEN; bd[5] = -BISHOP; bd[6] = -KNIGHT; bd[7] = -ROOK;
+ bd[0] = -ROOK; bd[1] = -KNIGHT; bd[2] = -BISHOP; bd[3] = -QUEEN;
+ bd[4] = -KING; bd[5] = -BISHOP; bd[6] = -KNIGHT; bd[7] = -ROOK;
for (int i = 8; i < 16; i++) bd[i] = -PAWN;
memset(bd + 16, 0, 32 * sizeof(int));
for (int i = 48; i < 56; i++) bd[i] = PAWN;
- bd[56] = ROOK; bd[57] = KNIGHT; bd[58] = BISHOP; bd[59] = KING;
- bd[60] = QUEEN; bd[61] = BISHOP; bd[62] = KNIGHT; bd[63] = ROOK;
+ bd[56] = ROOK; bd[57] = KNIGHT; bd[58] = BISHOP; bd[59] = QUEEN;
+ bd[60] = KING; bd[61] = BISHOP; bd[62] = KNIGHT; bd[63] = ROOK;
pieceScore[0] = pieceScore[1] = 0;
lastTarget = -1;