basic minimax without heuristic