maxpumperla / deep_learning_and_the_game_of_go

Code and other material for the book "Deep Learning and the Game of Go"
https://www.manning.com/books/deep-learning-and-the-game-of-go
989 stars 390 forks source link

the "get_go_string" in class "Board" #96

Open noword opened 3 years ago

noword commented 3 years ago
    def get_go_string(self, point):
        """Return the entire string of stones at a point.

        Returns None if the point is empty, or a GoString if there is
        a stone on that point.
        """
        return self._grid.get(point)

better than the original?

maxpumperla commented 3 years ago

yes, the original is redundant. thanks!