{"action":"created","comment":{"url":"https://api.github.com/repos/jmattheis/AntWars/pulls/comments/59865078","id":59865078,"diff_hunk":"@@ -28,6 +28,14 @@ public class AIAnt : AIAntBase {\n                 Ant.notifyOtherAnts(set);\n             }\n \n+            if (Ant.isWarrior()) {\n+                foreach (BoardObject bObject in view) {","path":"Player1AI/AI.cs","position":14,"original_position":14,"commit_id":"c2337574f04ead5fa3f973e3c81632ea75e9c82d","original_commit_id":"c2337574f04ead5fa3f973e3c81632ea75e9c82d","user":{"login":"jmattheis","id":14895212,"avatar_url":"https://avatars.githubusercontent.com/u/14895212?v=3","gravatar_id":"","url":"https://api.github.com/users/jmattheis","html_url":"https://github.com/jmattheis","followers_url":"https://api.github.com/users/jmattheis/followers","following_url":"https://api.github.com/users/jmattheis/following{/other_user}","gists_url":"https://api.github.com/users/jmattheis/gists{/gist_id}","starred_url":"https://api.github.com/users/jmattheis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmattheis/subscriptions","organizations_url":"https://api.github.com/users/jmattheis/orgs","repos_url":"https://api.github.com/users/jmattheis/repos","events_url":"https://api.github.com/users/jmattheis/events{/privacy}","received_events_url":"https://api.github.com/users/jmattheis/received_events","type":"User","site_admin":false},"body":"Soll ja eine gute Beispiel Implementation sein deswegen hier ein ``for`` loop benutzten","created_at":"2016-04-15T12:13:37Z","updated_at":"2016-04-15T12:13:37Z","html_url":"https://github.com/jmattheis/AntWars/pull/152#discussion_r59865078","pull_request_url":"https://api.github.com/repos/jmattheis/AntWars/pulls/152","_links":{"self":{"href":"https://api.github.com/repos/jmattheis/AntWars/pulls/comments/59865078"},"html":{"href":"https://github.com/jmattheis/AntWars/pull/152#discussion_r59865078"},"pull_request":{"href":"https://api.github.com/repos/jmattheis/AntWars/pulls/152"}}},"pull_request":{"url":"https://api.github.com/repos/jmattheis/AntWars/pulls/152","id":66610454,"html_url":"https://github.com/jmattheis/AntWars/pull/152","diff_url":"https://github.com/jmattheis/AntWars/pull/152.diff","patch_url":"https://github.com/jmattheis/AntWars/pull/152.patch","issue_url":"https://api.github.com/repos/jmattheis/AntWars/issues/152","number":152,"state":"open","locked":false,"title":"[WIP] Combat System","user":{"login":"nicolasries","id":13113768,"avatar_url":"https://avatars.githubusercontent.com/u/13113768?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasries","html_url":"https://github.com/nicolasries","followers_url":"https://api.github.com/users/nicolasries/followers","following_url":"https://api.github.com/users/nicolasries/following{/other_user}","gists_url":"https://api.github.com/users/nicolasries/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasries/subscriptions","organizations_url":"https://api.github.com/users/nicolasries/orgs","repos_url":"https://api.github.com/users/nicolasries/repos","events_url":"https://api.github.com/users/nicolasries/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasries/received_events","type":"User","site_admin":false},"body":"**Noch nicht mergen!** Gerade noch etwas buggy mit den sterbenden Ameisen..\r\n\r\nImplementiert die `fight()` Methode, die von `Warrior` Ameisen benutzt werden kann, um andere Ameisen anzugreifen. Das Ziel wird in der AI aus dem `view` Array genommen und an die Methode übergeben.\r\n","created_at":"2016-04-15T08:59:51Z","updated_at":"2016-04-15T12:13:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bd778b364e663f793a8f5356cce3d7ccaba51304","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jmattheis/AntWars/pulls/152/commits","review_comments_url":"https://api.github.com/repos/jmattheis/AntWars/pulls/152/comments","review_comment_url":"https://api.github.com/repos/jmattheis/AntWars/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jmattheis/AntWars/issues/152/comments","statuses_url":"https://api.github.com/repos/jmattheis/AntWars/statuses/c2337574f04ead5fa3f973e3c81632ea75e9c82d","head":{"label":"jmattheis:feature/combat","ref":"feature/combat","sha":"c2337574f04ead5fa3f973e3c81632ea75e9c82d","user":{"login":"jmattheis","id":14895212,"avatar_url":"https://avatars.githubusercontent.com/u/14895212?v=3","gravatar_id":"","url":"https://api.github.com/users/jmattheis","html_url":"https://github.com/jmattheis","followers_url":"https://api.github.com/users/jmattheis/followers","following_url":"https://api.github.com/users/jmattheis/following{/other_user}","gists_url":"https://api.github.com/users/jmattheis/gists{/gist_id}","starred_url":"https://api.github.com/users/jmattheis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmattheis/subscriptions","organizations_url":"https://api.github.com/users/jmattheis/orgs","repos_url":"https://api.github.com/users/jmattheis/repos","events_url":"https://api.github.com/users/jmattheis/events{/privacy}","received_events_url":"https://api.github.com/users/jmattheis/received_events","type":"User","site_admin":false},"repo":{"id":45385950,"name":"AntWars","full_name":"jmattheis/AntWars","owner":{"login":"jmattheis","id":14895212,"avatar_url":"https://avatars.githubusercontent.com/u/14895212?v=3","gravatar_id":"","url":"https://api.github.com/users/jmattheis","html_url":"https://github.com/jmattheis","followers_url":"https://api.github.com/users/jmattheis/followers","following_url":"https://api.github.com/users/jmattheis/following{/other_user}","gists_url":"https://api.github.com/users/jmattheis/gists{/gist_id}","starred_url":"https://api.github.com/users/jmattheis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmattheis/subscriptions","organizations_url":"https://api.github.com/users/jmattheis/orgs","repos_url":"https://api.github.com/users/jmattheis/repos","events_url":"https://api.github.com/users/jmattheis/events{/privacy}","received_events_url":"https://api.github.com/users/jmattheis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmattheis/AntWars","description":"","fork":false,"url":"https://api.github.com/repos/jmattheis/AntWars","forks_url":"https://api.github.com/repos/jmattheis/AntWars/forks","keys_url":"https://api.github.com/repos/jmattheis/AntWars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmattheis/AntWars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmattheis/AntWars/teams","hooks_url":"https://api.github.com/repos/jmattheis/AntWars/hooks","issue_events_url":"https://api.github.com/repos/jmattheis/AntWars/issues/events{/number}","events_url":"https://api.github.com/repos/jmattheis/AntWars/events","assignees_url":"https://api.github.com/repos/jmattheis/AntWars/assignees{/user}","branches_url":"https://api.github.com/repos/jmattheis/AntWars/branches{/branch}","tags_url":"https://api.github.com/repos/jmattheis/AntWars/tags","blobs_url":"https://api.github.com/repos/jmattheis/AntWars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmattheis/AntWars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmattheis/AntWars/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmattheis/AntWars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmattheis/AntWars/statuses/{sha}","languages_url":"https://api.github.com/repos/jmattheis/AntWars/languages","stargazers_url":"https://api.github.com/repos/jmattheis/AntWars/stargazers","contributors_url":"https://api.github.com/repos/jmattheis/AntWars/contributors","subscribers_url":"https://api.github.com/repos/jmattheis/AntWars/subscribers","subscription_url":"https://api.github.com/repos/jmattheis/AntWars/subscription","commits_url":"https://api.github.com/repos/jmattheis/AntWars/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmattheis/AntWars/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmattheis/AntWars/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmattheis/AntWars/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmattheis/AntWars/contents/{+path}","compare_url":"https://api.github.com/repos/jmattheis/AntWars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmattheis/AntWars/merges","archive_url":"https://api.github.com/repos/jmattheis/AntWars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmattheis/AntWars/downloads","issues_url":"https://api.github.com/repos/jmattheis/AntWars/issues{/number}","pulls_url":"https://api.github.com/repos/jmattheis/AntWars/pulls{/number}","milestones_url":"https://api.github.com/repos/jmattheis/AntWars/milestones{/number}","notifications_url":"https://api.github.com/repos/jmattheis/AntWars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmattheis/AntWars/labels{/name}","releases_url":"https://api.github.com/repos/jmattheis/AntWars/releases{/id}","deployments_url":"https://api.github.com/repos/jmattheis/AntWars/deployments","created_at":"2015-11-02T09:52:36Z","updated_at":"2016-01-11T12:50:10Z","pushed_at":"2016-04-15T11:33:51Z","git_url":"git://github.com/jmattheis/AntWars.git","ssh_url":"git@github.com:jmattheis/AntWars.git","clone_url":"https://github.com/jmattheis/AntWars.git","svn_url":"https://github.com/jmattheis/AntWars","homepage":null,"size":3051,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":0,"default_branch":"master"}},"base":{"label":"jmattheis:master","ref":"master","sha":"0bf0b6a89215ee2e2b6f283680462366e836cbb3","user":{"login":"jmattheis","id":14895212,"avatar_url":"https://avatars.githubusercontent.com/u/14895212?v=3","gravatar_id":"","url":"https://api.github.com/users/jmattheis","html_url":"https://github.com/jmattheis","followers_url":"https://api.github.com/users/jmattheis/followers","following_url":"https://api.github.com/users/jmattheis/following{/other_user}","gists_url":"https://api.github.com/users/jmattheis/gists{/gist_id}","starred_url":"https://api.github.com/users/jmattheis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmattheis/subscriptions","organizations_url":"https://api.github.com/users/jmattheis/orgs","repos_url":"https://api.github.com/users/jmattheis/repos","events_url":"https://api.github.com/users/jmattheis/events{/privacy}","received_events_url":"https://api.github.com/users/jmattheis/received_events","type":"User","site_admin":false},"repo":{"id":45385950,"name":"AntWars","full_name":"jmattheis/AntWars","owner":{"login":"jmattheis","id":14895212,"avatar_url":"https://avatars.githubusercontent.com/u/14895212?v=3","gravatar_id":"","url":"https://api.github.com/users/jmattheis","html_url":"https://github.com/jmattheis","followers_url":"https://api.github.com/users/jmattheis/followers","following_url":"https://api.github.com/users/jmattheis/following{/other_user}","gists_url":"https://api.github.com/users/jmattheis/gists{/gist_id}","starred_url":"https://api.github.com/users/jmattheis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmattheis/subscriptions","organizations_url":"https://api.github.com/users/jmattheis/orgs","repos_url":"https://api.github.com/users/jmattheis/repos","events_url":"https://api.github.com/users/jmattheis/events{/privacy}","received_events_url":"https://api.github.com/users/jmattheis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmattheis/AntWars","description":"","fork":false,"url":"https://api.github.com/repos/jmattheis/AntWars","forks_url":"https://api.github.com/repos/jmattheis/AntWars/forks","keys_url":"https://api.github.com/repos/jmattheis/AntWars/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmattheis/AntWars/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmattheis/AntWars/teams","hooks_url":"https://api.github.com/repos/jmattheis/AntWars/hooks","issue_events_url":"https://api.github.com/repos/jmattheis/AntWars/issues/events{/number}","events_url":"https://api.github.com/repos/jmattheis/AntWars/events","assignees_url":"https://api.github.com/repos/jmattheis/AntWars/assignees{/user}","branches_url":"https://api.github.com/repos/jmattheis/AntWars/branches{/branch}","tags_url":"https://api.github.com/repos/jmattheis/AntWars/tags","blobs_url":"https://api.github.com/repos/jmattheis/AntWars/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmattheis/AntWars/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmattheis/AntWars/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmattheis/AntWars/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmattheis/AntWars/statuses/{sha}","languages_url":"https://api.github.com/repos/jmattheis/AntWars/languages","stargazers_url":"https://api.github.com/repos/jmattheis/AntWars/stargazers","contributors_url":"https://api.github.com/repos/jmattheis/AntWars/contributors","subscribers_url":"https://api.github.com/repos/jmattheis/AntWars/subscribers","subscription_url":"https://api.github.com/repos/jmattheis/AntWars/subscription","commits_url":"https://api.github.com/repos/jmattheis/AntWars/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmattheis/AntWars/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmattheis/AntWars/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmattheis/AntWars/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmattheis/AntWars/contents/{+path}","compare_url":"https://api.github.com/repos/jmattheis/AntWars/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmattheis/AntWars/merges","archive_url":"https://api.github.com/repos/jmattheis/AntWars/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmattheis/AntWars/downloads","issues_url":"https://api.github.com/repos/jmattheis/AntWars/issues{/number}","pulls_url":"https://api.github.com/repos/jmattheis/AntWars/pulls{/number}","milestones_url":"https://api.github.com/repos/jmattheis/AntWars/milestones{/number}","notifications_url":"https://api.github.com/repos/jmattheis/AntWars/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmattheis/AntWars/labels{/name}","releases_url":"https://api.github.com/repos/jmattheis/AntWars/releases{/id}","deployments_url":"https://api.github.com/repos/jmattheis/AntWars/deployments","created_at":"2015-11-02T09:52:36Z","updated_at":"2016-01-11T12:50:10Z","pushed_at":"2016-04-15T11:33:51Z","git_url":"git://github.com/jmattheis/AntWars.git","ssh_url":"git@github.com:jmattheis/AntWars.git","clone_url":"https://github.com/jmattheis/AntWars.git","svn_url":"https://github.com/jmattheis/AntWars","homepage":null,"size":3051,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":21,"forks":0,"open_issues":21,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jmattheis/AntWars/pulls/152"},"html":{"href":"https://github.com/jmattheis/AntWars/pull/152"},"issue":{"href":"https://api.github.com/repos/jmattheis/AntWars/issues/152"},"comments":{"href":"https://api.github.com/repos/jmattheis/AntWars/issues/152/comments"},"review_comments":{"href":"https://api.github.com/repos/jmattheis/AntWars/pulls/152/comments"},"review_comment":{"href":"https://api.github.com/repos/jmattheis/AntWars/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jmattheis/AntWars/pulls/152/commits"},"statuses":{"href":"https://api.github.com/repos/jmattheis/AntWars/statuses/c2337574f04ead5fa3f973e3c81632ea75e9c82d"}}}}