Esempio n. 1
0
    def placeFigures(self, board: GameBoard, state: GameState) -> None:
        """
        Uses the placeFigures() method of the GreedyAgent class.

        :param board:   board of the game
        :param state:   the current state
        """
        # TODO: find a better idea?
        ga = GreedyAgent(self.team)
        ga.placeFigures(board, state)
Esempio n. 2
0
    def placeFigures(self, board: GameBoard, state: GameState) -> None:
        """
        Uses GreedyAgent's placer() method.

        :param board:   board of the game
        :param state:   the current state
        """

        # TODO: find a better placer
        ga = GreedyAgent(self.team)
        ga.placeFigures(board, state)