def drive_to(bot, target: Vec3) -> Turn: """ Find the most naive turn to get to the target position """ car = bot.info.my_car turns = Turn.all(car) # Find best turn delta_n = normalize(target - car.pos) turn, _ = argmax(turns, lambda turn: dot(turn.dir, delta_n)) return turn