Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int value =
- 975 * (nObjects[1][1] - nObjects[0][1]) // queen
- + 500 * (nObjects[1][2] - nObjects[0][2]) // rook
- + 325 * (nObjects[1][3] - nObjects[0][3]) // bishop
- + 325 * (nObjects[1][4] - nObjects[0][4]) // knight
- + 100 * (nObjects[1][5] - nObjects[0][5]) // pawn
- // need to verify what larry says about these
- - 50 * (countNLeftBehindPawns(myObjects) - countNLeftBehindPawns(hisObjects))
- - 50 * (countNIsolatedPawns(myObjects, board) - countNIsolatedPawns(hisObjects, board))
- - 50 * (countNDoublePawns(myObjects, board) - countNDoublePawns(hisObjects, board))
- + 10 * (nMeMoves - nOpponentMoves);
Advertisement
Add Comment
Please, Sign In to add comment