Skip to content

Commit

Permalink
added evalScore variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dmj12004 committed Apr 18, 2017
1 parent 0b02dc7 commit 69a5717
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/BitBoard.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class BitBoard
const int count(uint32_t i) const;

// Heuristic functions
int evalScore;
void evalHueristics();

int h1() const;
Expand Down
2 changes: 1 addition & 1 deletion src/heuristics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ uint32_t const BitBoard::playerPieces() const {
}

void BitBoard::evalHueristics(){
evalScore = h1() + h2() + h3() + h4() + h5() + h6 + h7() + h8() + h9() + h10();
evalScore = h1() + h2() + h3() + h4() + h5() + h6() + h7() + h8() + h9() + h10();
}

// Number of pawns
Expand Down

0 comments on commit 69a5717

Please sign in to comment.