code: def mine_policy(board, ship):
      nearest_halite_pos = nearest_halite(board, ship)
  
      ship.next_action = head_to(
          board,
          ship.position,
          nearest_halite_pos,
          ignore_teammates=False,
      )
  
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 3 for calling a global function with example usage: mine_policy(board, ship) without return types