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