src/quagen/ai/biased.py
def _augment_candidate(self, spot):
        """
        Augments the candidate spot with additional metadata/information
        gathered from the game/board to help influence the final scoring of
        the spot.

        Args:
            spot (tuple): Spot in the form of (x, y)

        """
        cur_projected = self._game.scores[self._color]["projected"]
        new_projected = self.project_move(spot)[self._color]["projected"]

        augmented_candidate = {
            "coords": spot,
            "projected": new_projected,
            "gain_ai": new_projected - cur_projected,
            "gain_opponents": self._calculate_opponent_gain(spot),
        }

        return augmented_candidate

        Augments the candidate spot with additional metadata/information
        gathered from the game/board to help influence the final scoring of
        the spot.

        Args:
            spot (tuple): Spot in the form of (x, y)

        
Augments the candidate spot with additional metadata/information
gathered from the game/board to help influence the final scoring of
the spot.
Augments the candidate spot with additional metadata / information gathered from the game / board to help influence the final scoring of the spot .
def _augment_candidate(self, spot):
        cur_projected = self._game.scores[self._color]["projected"]
        new_projected = self.project_move(spot)[self._color]["projected"]
        augmented_candidate = {
            "coords": spot,
            "projected": new_projected,
            "gain_ai": new_projected - cur_projected,
            "gain_opponents": self._calculate_opponent_gain(spot),
        }
        return augmented_candidate
def _augment_candidate ( self , spot ) : cur_projected = self . _game . scores [ self . _color ] [ "projected" ] new_projected = self . project_move ( spot ) [ self . _color ] [ "projected" ] augmented_candidate = { "coords" : spot , "projected" : new_projected , "gain_ai" : new_projected - cur_projected , "gain_opponents" : self . _calculate_opponent_gain ( spot ) , } return augmented_candidate
Augments the candidate spot with additional metadata/information
gathered from the game/board to help influence the final scoring of
the spot.
Augments the candidate spot with additional metadata / information gathered from the game / board to help influence the final scoring of the spot .
"""
        Augments the candidate spot with additional metadata/information
        gathered from the game/board to help influence the final scoring of
        the spot.

        Args:
            spot (tuple): Spot in the form of (x, y)

        """
self
spot
Spot in the form of (x, y)
Spot in the form of ( x y )