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

Ladder explorer #17

Open
7 tasks done
iorch opened this issue Mar 27, 2016 · 1 comment
Open
7 tasks done

Ladder explorer #17

iorch opened this issue Mar 27, 2016 · 1 comment

Comments

@iorch
Copy link
Owner

iorch commented Mar 27, 2016

  • look for enemy groups with 2 liberties
  • loop over those groups and liberties
  • fill one liberty
  • can enemy kill own stones?
  • place the forced move
  • count liberties
  • check for following cases:
    • more than 2 liberties: escape, ladder fails
    • 2 liberties, fill one liberty, ....
    • 1 liberty, ladder succed
iorch added a commit that referenced this issue Apr 9, 2016
iorch added a commit that referenced this issue Apr 10, 2016
iorch added a commit that referenced this issue Apr 10, 2016
iorch added a commit that referenced this issue Apr 10, 2016
@iorch
Copy link
Owner Author

iorch commented Apr 11, 2016

W I P

Works only in simple cases.
ToDo:

  • Avoid not legal moves,
  • Keep on the same group.

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

1 participant