public int testMyScoreWithThisMove(Board board, Move myMove, Move othersMove) { double[][][] currPull = board.getCurrPull(); int size = board.getBoardSize(); int myScore = 0; for (int i = 0; i < size; i++) { for (int j = 0; j < size; j++) { double newMyPull = currPull[i][j][0] + 1 / AbsPlayer.getDistanceSq(i, j, myMove); double newOthersPull = currPull[i][j][1] + 1 / AbsPlayer.getDistanceSq(i, j, othersMove); if (newMyPull > newOthersPull) { myScore++; } else { myScore--; } } } return myScore; }