daily pastebin goal
90%
SHARE
TWEET

Untitled

a guest Jan 23rd, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  def utils(self, state):
  2.         player = state.locs[self.player_id]
  3.         enemy = state.locs[1- self.player_id]
  4.         return len(state.liberties(player)) - len(state.liberties(enemy))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top