flok99

Untitled

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