public void calcNextMove(int player, GameBoardData gameBoard) { countRatings = 0; board = gameBoard; validTurns = board.getValidTurns(); turnHighestRating = validTurns [0]; highestRating = int.MinValue; for (int i = 0; i < validTurns.Count; i++) { DeepSearch deepSearch = new DeepSearch(board, validTurns[i], deep, playerMe, playerMe, int.MinValue, int.MaxValue); deepSearch.setAiListener(this); deepSearch.Start(); } }