code: def move_up_policy(board, ship):
      act = nearby_enemy(board, ship)
      if act is not None:
          ship.next_action = act
      else:
          ship.next_action = ShipAction.UP
  
file_path: PARL/examples/Baselines/Halite_competition/torch/rl_trainer/policy.py
imports: from zerosum_env import make, evaluate
  from zerosum_env.envs.halite.helpers import *
  import random
  from config import config
  from .utils import *
label_desc: Use image node_id 5 for calling a global function with example usage: move_up_policy(board, ship) without return types