{"action":"created","issue":{"url":"https://api.github.com/repos/ujh/iomrascalai/issues/151","labels_url":"https://api.github.com/repos/ujh/iomrascalai/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/ujh/iomrascalai/issues/151/comments","events_url":"https://api.github.com/repos/ujh/iomrascalai/issues/151/events","html_url":"https://github.com/ujh/iomrascalai/pull/151","id":70060177,"number":151,"title":"There's a little bit of confusion about my functions","user":{"login":"iopq","id":1817528,"avatar_url":"https://avatars.githubusercontent.com/u/1817528?v=3","gravatar_id":"","url":"https://api.github.com/users/iopq","html_url":"https://github.com/iopq","followers_url":"https://api.github.com/users/iopq/followers","following_url":"https://api.github.com/users/iopq/following{/other_user}","gists_url":"https://api.github.com/users/iopq/gists{/gist_id}","starred_url":"https://api.github.com/users/iopq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iopq/subscriptions","organizations_url":"https://api.github.com/users/iopq/orgs","repos_url":"https://api.github.com/users/iopq/repos","events_url":"https://api.github.com/users/iopq/events{/privacy}","received_events_url":"https://api.github.com/users/iopq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-22T08:35:14Z","updated_at":"2015-04-22T09:19:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ujh/iomrascalai/pulls/151","html_url":"https://github.com/ujh/iomrascalai/pull/151","diff_url":"https://github.com/ujh/iomrascalai/pull/151.diff","patch_url":"https://github.com/ujh/iomrascalai/pull/151.patch"},"body":"`save_group` saves a group with the player to act, while not being able to `save_group` means it is as good as dead\r\n\r\nif you call it with the other player to act, it doesn't work, because there's a way to save this group, but if it's the other player to act he will just capture it, because it's in atari, so that's why you need to call `capture_ladder`\r\n\r\nadditionally, you have to make the move first because it reads out the entire ladder so it has to have all the stones in place"},"comment":{"url":"https://api.github.com/repos/ujh/iomrascalai/issues/comments/95088433","html_url":"https://github.com/ujh/iomrascalai/pull/151#issuecomment-95088433","issue_url":"https://api.github.com/repos/ujh/iomrascalai/issues/151","id":95088433,"user":{"login":"iopq","id":1817528,"avatar_url":"https://avatars.githubusercontent.com/u/1817528?v=3","gravatar_id":"","url":"https://api.github.com/users/iopq","html_url":"https://github.com/iopq","followers_url":"https://api.github.com/users/iopq/followers","following_url":"https://api.github.com/users/iopq/following{/other_user}","gists_url":"https://api.github.com/users/iopq/gists{/gist_id}","starred_url":"https://api.github.com/users/iopq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iopq/subscriptions","organizations_url":"https://api.github.com/users/iopq/orgs","repos_url":"https://api.github.com/users/iopq/repos","events_url":"https://api.github.com/users/iopq/events{/privacy}","received_events_url":"https://api.github.com/users/iopq/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T09:19:52Z","updated_at":"2015-04-22T09:19:52Z","body":"in general, because of the clone requirement I want to actually rewrite the priors code to first look at our own groups currently in danger and opponent groups in danger instead of testing every move for whether it puts someone in danger or leaves a group vulnerable"}}