Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the "get_go_string" in class "Board" #96

Open
noword opened this issue Oct 9, 2021 · 1 comment
Open

the "get_go_string" in class "Board" #96

noword opened this issue Oct 9, 2021 · 1 comment

Comments

@noword
Copy link

noword commented Oct 9, 2021

    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
Copy link
Owner

yes, the original is redundant. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants