Minimax implementation complete.