{"action":"created","issue":{"url":"https://api.github.com/repos/cs361fall2018/project-team-30/issues/32","repository_url":"https://api.github.com/repos/cs361fall2018/project-team-30","labels_url":"https://api.github.com/repos/cs361fall2018/project-team-30/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/cs361fall2018/project-team-30/issues/32/comments","events_url":"https://api.github.com/repos/cs361fall2018/project-team-30/issues/32/events","html_url":"https://github.com/cs361fall2018/project-team-30/pull/32","id":374470230,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MTY1OTMz","number":32,"title":"Fix attack happens when player clicks on own grid after placing ships","user":{"login":"harkindo","id":32317701,"node_id":"MDQ6VXNlcjMyMzE3NzAx","avatar_url":"https://avatars2.githubusercontent.com/u/32317701?v=4","gravatar_id":"","url":"https://api.github.com/users/harkindo","html_url":"https://github.com/harkindo","followers_url":"https://api.github.com/users/harkindo/followers","following_url":"https://api.github.com/users/harkindo/following{/other_user}","gists_url":"https://api.github.com/users/harkindo/gists{/gist_id}","starred_url":"https://api.github.com/users/harkindo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harkindo/subscriptions","organizations_url":"https://api.github.com/users/harkindo/orgs","repos_url":"https://api.github.com/users/harkindo/repos","events_url":"https://api.github.com/users/harkindo/events{/privacy}","received_events_url":"https://api.github.com/users/harkindo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-26T17:05:53Z","updated_at":"2018-10-26T19:53:27Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cs361fall2018/project-team-30/pulls/32","html_url":"https://github.com/cs361fall2018/project-team-30/pull/32","diff_url":"https://github.com/cs361fall2018/project-team-30/pull/32.diff","patch_url":"https://github.com/cs361fall2018/project-team-30/pull/32.patch"},"body":"This fixes #28 by preventing any action from occurring when the player's grid is clicked after placing ships. Since at no point during the game is it a valid option to attack on the player side of the board, I did not add an error to the log for this event."},"comment":{"url":"https://api.github.com/repos/cs361fall2018/project-team-30/issues/comments/433524710","html_url":"https://github.com/cs361fall2018/project-team-30/pull/32#issuecomment-433524710","issue_url":"https://api.github.com/repos/cs361fall2018/project-team-30/issues/32","id":433524710,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzUyNDcxMA==","user":{"login":"lppenne","id":6578209,"node_id":"MDQ6VXNlcjY1NzgyMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/6578209?v=4","gravatar_id":"","url":"https://api.github.com/users/lppenne","html_url":"https://github.com/lppenne","followers_url":"https://api.github.com/users/lppenne/followers","following_url":"https://api.github.com/users/lppenne/following{/other_user}","gists_url":"https://api.github.com/users/lppenne/gists{/gist_id}","starred_url":"https://api.github.com/users/lppenne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lppenne/subscriptions","organizations_url":"https://api.github.com/users/lppenne/orgs","repos_url":"https://api.github.com/users/lppenne/repos","events_url":"https://api.github.com/users/lppenne/events{/privacy}","received_events_url":"https://api.github.com/users/lppenne/received_events","type":"User","site_admin":false},"created_at":"2018-10-26T19:53:27Z","updated_at":"2018-10-26T19:53:27Z","author_association":"CONTRIBUTOR","body":"This looks good, the code is well written and easy to understand.  If I'm understanding this right it is basically just checking to make sure you are not clicking on your own board when you attempt to make an attack.  This is a useful and intuitive fix.  It may need to be changed in the future if we need to be able to do something with our own board after the game has started, but that probably won't come up.  "}}
{"actor":{"display_login":"lppenne"}}