def calculate_orders(whoami, state): orders = [] # Get the robots you control. my_robots = state.robots_by_player[whoami] # Tell them all to go up. for robot in my_robots: orders.append('U') return orders