Example #1
0
 def getMove(self):
   availableMoves = [move for move in self.state.getAvailableMoves()]
   return util.getRandomElement(availableMoves)
Example #2
0
 def getMove(self):
   heuristic = util.getRandomElement(self.heuristics)
   return heuristic.getMove()