{"action":"created","issue":{"url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/issues/41","repository_url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess","labels_url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/issues/41/comments","events_url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/issues/41/events","html_url":"https://github.com/firehose-codemasters/codemasters_chess/pull/41","id":234838370,"number":41,"title":"Check Branch","user":{"login":"asmentko","id":15317438,"avatar_url":"https://avatars3.githubusercontent.com/u/15317438?v=3","gravatar_id":"","url":"https://api.github.com/users/asmentko","html_url":"https://github.com/asmentko","followers_url":"https://api.github.com/users/asmentko/followers","following_url":"https://api.github.com/users/asmentko/following{/other_user}","gists_url":"https://api.github.com/users/asmentko/gists{/gist_id}","starred_url":"https://api.github.com/users/asmentko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmentko/subscriptions","organizations_url":"https://api.github.com/users/asmentko/orgs","repos_url":"https://api.github.com/users/asmentko/repos","events_url":"https://api.github.com/users/asmentko/events{/privacy}","received_events_url":"https://api.github.com/users/asmentko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-09T14:09:01Z","updated_at":"2017-06-14T01:51:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/pulls/41","html_url":"https://github.com/firehose-codemasters/codemasters_chess/pull/41","diff_url":"https://github.com/firehose-codemasters/codemasters_chess/pull/41.diff","patch_url":"https://github.com/firehose-codemasters/codemasters_chess/pull/41.patch"},"body":"Not ready for merging yet.\r\n\r\nI still have a ways to go on this but wanted to push it to git. My next challenge is to integrate the pieces_turn? method into the kings_team method (and likely change the kings_team method name). Once I figure this out, I think I'll mess around trying to pass kings_team to the possible_moves method.\r\n\r\nThe way I see it, we need to run the check method on the current_color as part of the tests that happens before a move is made. We also need a separate method that forces the current_color to make a move out of check, if check returns true.\r\n\r\nAfter the current_color makes a valid move, we then need to run a check test on the other color... which means I either have to figure out how to integrate the test before the next_turn method gets called (on resting_color) or run check on current_color immediately after next_turn method gets called and before current_color can move."},"comment":{"url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/issues/comments/308296753","html_url":"https://github.com/firehose-codemasters/codemasters_chess/pull/41#issuecomment-308296753","issue_url":"https://api.github.com/repos/firehose-codemasters/codemasters_chess/issues/41","id":308296753,"user":{"login":"asmentko","id":15317438,"avatar_url":"https://avatars3.githubusercontent.com/u/15317438?v=3","gravatar_id":"","url":"https://api.github.com/users/asmentko","html_url":"https://github.com/asmentko","followers_url":"https://api.github.com/users/asmentko/followers","following_url":"https://api.github.com/users/asmentko/following{/other_user}","gists_url":"https://api.github.com/users/asmentko/gists{/gist_id}","starred_url":"https://api.github.com/users/asmentko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmentko/subscriptions","organizations_url":"https://api.github.com/users/asmentko/orgs","repos_url":"https://api.github.com/users/asmentko/repos","events_url":"https://api.github.com/users/asmentko/events{/privacy}","received_events_url":"https://api.github.com/users/asmentko/received_events","type":"User","site_admin":false},"created_at":"2017-06-14T01:51:41Z","updated_at":"2017-06-14T01:51:41Z","body":"Fixed the broken rspec tests and cleaned up the rubocop violations. Next step, write new tests for Check method."}}
{"actor":{"display_login":"asmentko"}}