Implemented getBestMove waiting on maxScore