{"action":"created","comment":{"url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/comments/166696748","pull_request_review_id":94801632,"id":166696748,"diff_hunk":"@@ -88,7 +88,7 @@ defmodule Bs.World.Factory do\n \n     update_in(world.snakes, fn snakes ->\n       for snake <- snakes do\n-        {:ok, point} = World.rand_unoccupied_space(world)\n+        {:ok, point} = World.rand_unoccupied_space(world, 1, true)","path":"lib/bs/world/factory.ex","position":5,"original_position":5,"commit_id":"fd84031b56a044c15bce20b9c7e19a9d4add2703","original_commit_id":"fd84031b56a044c15bce20b9c7e19a9d4add2703","user":{"login":"cbinners","id":187452,"avatar_url":"https://avatars0.githubusercontent.com/u/187452?v=4","gravatar_id":"","url":"https://api.github.com/users/cbinners","html_url":"https://github.com/cbinners","followers_url":"https://api.github.com/users/cbinners/followers","following_url":"https://api.github.com/users/cbinners/following{/other_user}","gists_url":"https://api.github.com/users/cbinners/gists{/gist_id}","starred_url":"https://api.github.com/users/cbinners/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbinners/subscriptions","organizations_url":"https://api.github.com/users/cbinners/orgs","repos_url":"https://api.github.com/users/cbinners/repos","events_url":"https://api.github.com/users/cbinners/events{/privacy}","received_events_url":"https://api.github.com/users/cbinners/received_events","type":"User","site_admin":false},"body":"Do you want to randomly set `only_odd_squares`? This would allow spawning on even spaces. It doesn't _really_ matter since it's basically equivalent, but might _look_ weird to never see spawns on the even ones (or odd?).","created_at":"2018-02-07T17:40:05Z","updated_at":"2018-02-07T17:40:05Z","html_url":"https://github.com/sendwithus/battlesnake-server/pull/3#discussion_r166696748","pull_request_url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/comments/166696748"},"html":{"href":"https://github.com/sendwithus/battlesnake-server/pull/3#discussion_r166696748"},"pull_request":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3","id":167760771,"html_url":"https://github.com/sendwithus/battlesnake-server/pull/3","diff_url":"https://github.com/sendwithus/battlesnake-server/pull/3.diff","patch_url":"https://github.com/sendwithus/battlesnake-server/pull/3.patch","issue_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/3","number":3,"state":"open","locked":false,"title":"modifying snake spawn points to have a one square buffer around their…","user":{"login":"john-swu","id":32964081,"avatar_url":"https://avatars2.githubusercontent.com/u/32964081?v=4","gravatar_id":"","url":"https://api.github.com/users/john-swu","html_url":"https://github.com/john-swu","followers_url":"https://api.github.com/users/john-swu/followers","following_url":"https://api.github.com/users/john-swu/following{/other_user}","gists_url":"https://api.github.com/users/john-swu/gists{/gist_id}","starred_url":"https://api.github.com/users/john-swu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-swu/subscriptions","organizations_url":"https://api.github.com/users/john-swu/orgs","repos_url":"https://api.github.com/users/john-swu/repos","events_url":"https://api.github.com/users/john-swu/events{/privacy}","received_events_url":"https://api.github.com/users/john-swu/received_events","type":"User","site_admin":false},"body":"… heads on start","created_at":"2018-02-07T17:37:27Z","updated_at":"2018-02-07T17:40:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14bde5678a2b20c355274290062a25d35f30b390","assignee":null,"assignees":[],"requested_reviewers":[{"login":"daniel-swu","id":32913783,"avatar_url":"https://avatars0.githubusercontent.com/u/32913783?v=4","gravatar_id":"","url":"https://api.github.com/users/daniel-swu","html_url":"https://github.com/daniel-swu","followers_url":"https://api.github.com/users/daniel-swu/followers","following_url":"https://api.github.com/users/daniel-swu/following{/other_user}","gists_url":"https://api.github.com/users/daniel-swu/gists{/gist_id}","starred_url":"https://api.github.com/users/daniel-swu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniel-swu/subscriptions","organizations_url":"https://api.github.com/users/daniel-swu/orgs","repos_url":"https://api.github.com/users/daniel-swu/repos","events_url":"https://api.github.com/users/daniel-swu/events{/privacy}","received_events_url":"https://api.github.com/users/daniel-swu/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3/commits","review_comments_url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3/comments","review_comment_url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/3/comments","statuses_url":"https://api.github.com/repos/sendwithus/battlesnake-server/statuses/fd84031b56a044c15bce20b9c7e19a9d4add2703","head":{"label":"sendwithus:modified-spawn-points","ref":"modified-spawn-points","sha":"fd84031b56a044c15bce20b9c7e19a9d4add2703","user":{"login":"sendwithus","id":3197391,"avatar_url":"https://avatars3.githubusercontent.com/u/3197391?v=4","gravatar_id":"","url":"https://api.github.com/users/sendwithus","html_url":"https://github.com/sendwithus","followers_url":"https://api.github.com/users/sendwithus/followers","following_url":"https://api.github.com/users/sendwithus/following{/other_user}","gists_url":"https://api.github.com/users/sendwithus/gists{/gist_id}","starred_url":"https://api.github.com/users/sendwithus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendwithus/subscriptions","organizations_url":"https://api.github.com/users/sendwithus/orgs","repos_url":"https://api.github.com/users/sendwithus/repos","events_url":"https://api.github.com/users/sendwithus/events{/privacy}","received_events_url":"https://api.github.com/users/sendwithus/received_events","type":"Organization","site_admin":false},"repo":{"id":120370422,"name":"battlesnake-server","full_name":"sendwithus/battlesnake-server","owner":{"login":"sendwithus","id":3197391,"avatar_url":"https://avatars3.githubusercontent.com/u/3197391?v=4","gravatar_id":"","url":"https://api.github.com/users/sendwithus","html_url":"https://github.com/sendwithus","followers_url":"https://api.github.com/users/sendwithus/followers","following_url":"https://api.github.com/users/sendwithus/following{/other_user}","gists_url":"https://api.github.com/users/sendwithus/gists{/gist_id}","starred_url":"https://api.github.com/users/sendwithus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendwithus/subscriptions","organizations_url":"https://api.github.com/users/sendwithus/orgs","repos_url":"https://api.github.com/users/sendwithus/repos","events_url":"https://api.github.com/users/sendwithus/events{/privacy}","received_events_url":"https://api.github.com/users/sendwithus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sendwithus/battlesnake-server","description":"AI Programing Competition Game Server","fork":true,"url":"https://api.github.com/repos/sendwithus/battlesnake-server","forks_url":"https://api.github.com/repos/sendwithus/battlesnake-server/forks","keys_url":"https://api.github.com/repos/sendwithus/battlesnake-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendwithus/battlesnake-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendwithus/battlesnake-server/teams","hooks_url":"https://api.github.com/repos/sendwithus/battlesnake-server/hooks","issue_events_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/events{/number}","events_url":"https://api.github.com/repos/sendwithus/battlesnake-server/events","assignees_url":"https://api.github.com/repos/sendwithus/battlesnake-server/assignees{/user}","branches_url":"https://api.github.com/repos/sendwithus/battlesnake-server/branches{/branch}","tags_url":"https://api.github.com/repos/sendwithus/battlesnake-server/tags","blobs_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendwithus/battlesnake-server/statuses/{sha}","languages_url":"https://api.github.com/repos/sendwithus/battlesnake-server/languages","stargazers_url":"https://api.github.com/repos/sendwithus/battlesnake-server/stargazers","contributors_url":"https://api.github.com/repos/sendwithus/battlesnake-server/contributors","subscribers_url":"https://api.github.com/repos/sendwithus/battlesnake-server/subscribers","subscription_url":"https://api.github.com/repos/sendwithus/battlesnake-server/subscription","commits_url":"https://api.github.com/repos/sendwithus/battlesnake-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendwithus/battlesnake-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendwithus/battlesnake-server/contents/{+path}","compare_url":"https://api.github.com/repos/sendwithus/battlesnake-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendwithus/battlesnake-server/merges","archive_url":"https://api.github.com/repos/sendwithus/battlesnake-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendwithus/battlesnake-server/downloads","issues_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues{/number}","pulls_url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls{/number}","milestones_url":"https://api.github.com/repos/sendwithus/battlesnake-server/milestones{/number}","notifications_url":"https://api.github.com/repos/sendwithus/battlesnake-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendwithus/battlesnake-server/labels{/name}","releases_url":"https://api.github.com/repos/sendwithus/battlesnake-server/releases{/id}","deployments_url":"https://api.github.com/repos/sendwithus/battlesnake-server/deployments","created_at":"2018-02-05T22:31:13Z","updated_at":"2018-02-07T17:28:06Z","pushed_at":"2018-02-07T17:37:28Z","git_url":"git://github.com/sendwithus/battlesnake-server.git","ssh_url":"git@github.com:sendwithus/battlesnake-server.git","clone_url":"https://github.com/sendwithus/battlesnake-server.git","svn_url":"https://github.com/sendwithus/battlesnake-server","homepage":"","size":17307,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sendwithus:master","ref":"master","sha":"2bb4b826623e837ba748e52b15e79e930f366065","user":{"login":"sendwithus","id":3197391,"avatar_url":"https://avatars3.githubusercontent.com/u/3197391?v=4","gravatar_id":"","url":"https://api.github.com/users/sendwithus","html_url":"https://github.com/sendwithus","followers_url":"https://api.github.com/users/sendwithus/followers","following_url":"https://api.github.com/users/sendwithus/following{/other_user}","gists_url":"https://api.github.com/users/sendwithus/gists{/gist_id}","starred_url":"https://api.github.com/users/sendwithus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendwithus/subscriptions","organizations_url":"https://api.github.com/users/sendwithus/orgs","repos_url":"https://api.github.com/users/sendwithus/repos","events_url":"https://api.github.com/users/sendwithus/events{/privacy}","received_events_url":"https://api.github.com/users/sendwithus/received_events","type":"Organization","site_admin":false},"repo":{"id":120370422,"name":"battlesnake-server","full_name":"sendwithus/battlesnake-server","owner":{"login":"sendwithus","id":3197391,"avatar_url":"https://avatars3.githubusercontent.com/u/3197391?v=4","gravatar_id":"","url":"https://api.github.com/users/sendwithus","html_url":"https://github.com/sendwithus","followers_url":"https://api.github.com/users/sendwithus/followers","following_url":"https://api.github.com/users/sendwithus/following{/other_user}","gists_url":"https://api.github.com/users/sendwithus/gists{/gist_id}","starred_url":"https://api.github.com/users/sendwithus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sendwithus/subscriptions","organizations_url":"https://api.github.com/users/sendwithus/orgs","repos_url":"https://api.github.com/users/sendwithus/repos","events_url":"https://api.github.com/users/sendwithus/events{/privacy}","received_events_url":"https://api.github.com/users/sendwithus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sendwithus/battlesnake-server","description":"AI Programing Competition Game Server","fork":true,"url":"https://api.github.com/repos/sendwithus/battlesnake-server","forks_url":"https://api.github.com/repos/sendwithus/battlesnake-server/forks","keys_url":"https://api.github.com/repos/sendwithus/battlesnake-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sendwithus/battlesnake-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sendwithus/battlesnake-server/teams","hooks_url":"https://api.github.com/repos/sendwithus/battlesnake-server/hooks","issue_events_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/events{/number}","events_url":"https://api.github.com/repos/sendwithus/battlesnake-server/events","assignees_url":"https://api.github.com/repos/sendwithus/battlesnake-server/assignees{/user}","branches_url":"https://api.github.com/repos/sendwithus/battlesnake-server/branches{/branch}","tags_url":"https://api.github.com/repos/sendwithus/battlesnake-server/tags","blobs_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sendwithus/battlesnake-server/statuses/{sha}","languages_url":"https://api.github.com/repos/sendwithus/battlesnake-server/languages","stargazers_url":"https://api.github.com/repos/sendwithus/battlesnake-server/stargazers","contributors_url":"https://api.github.com/repos/sendwithus/battlesnake-server/contributors","subscribers_url":"https://api.github.com/repos/sendwithus/battlesnake-server/subscribers","subscription_url":"https://api.github.com/repos/sendwithus/battlesnake-server/subscription","commits_url":"https://api.github.com/repos/sendwithus/battlesnake-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/sendwithus/battlesnake-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/sendwithus/battlesnake-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/sendwithus/battlesnake-server/contents/{+path}","compare_url":"https://api.github.com/repos/sendwithus/battlesnake-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sendwithus/battlesnake-server/merges","archive_url":"https://api.github.com/repos/sendwithus/battlesnake-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sendwithus/battlesnake-server/downloads","issues_url":"https://api.github.com/repos/sendwithus/battlesnake-server/issues{/number}","pulls_url":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls{/number}","milestones_url":"https://api.github.com/repos/sendwithus/battlesnake-server/milestones{/number}","notifications_url":"https://api.github.com/repos/sendwithus/battlesnake-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sendwithus/battlesnake-server/labels{/name}","releases_url":"https://api.github.com/repos/sendwithus/battlesnake-server/releases{/id}","deployments_url":"https://api.github.com/repos/sendwithus/battlesnake-server/deployments","created_at":"2018-02-05T22:31:13Z","updated_at":"2018-02-07T17:28:06Z","pushed_at":"2018-02-07T17:37:28Z","git_url":"git://github.com/sendwithus/battlesnake-server.git","ssh_url":"git@github.com:sendwithus/battlesnake-server.git","clone_url":"https://github.com/sendwithus/battlesnake-server.git","svn_url":"https://github.com/sendwithus/battlesnake-server","homepage":"","size":17307,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3"},"html":{"href":"https://github.com/sendwithus/battlesnake-server/pull/3"},"issue":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/3"},"comments":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/sendwithus/battlesnake-server/statuses/fd84031b56a044c15bce20b9c7e19a9d4add2703"}},"author_association":"NONE"}}
{"actor":{"display_login":"cbinners"}}