{"action":"created","issue":{"url":"https://api.github.com/repos/willowtreeapps/battlebots/issues/75","repository_url":"https://api.github.com/repos/willowtreeapps/battlebots","labels_url":"https://api.github.com/repos/willowtreeapps/battlebots/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/willowtreeapps/battlebots/issues/75/comments","events_url":"https://api.github.com/repos/willowtreeapps/battlebots/issues/75/events","html_url":"https://github.com/willowtreeapps/battlebots/pull/75","id":165945205,"number":75,"title":"Feature/update-shoot","user":{"login":"oconn","id":4649439,"avatar_url":"https://avatars.githubusercontent.com/u/4649439?v=3","gravatar_id":"","url":"https://api.github.com/users/oconn","html_url":"https://github.com/oconn","followers_url":"https://api.github.com/users/oconn/followers","following_url":"https://api.github.com/users/oconn/following{/other_user}","gists_url":"https://api.github.com/users/oconn/gists{/gist_id}","starred_url":"https://api.github.com/users/oconn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oconn/subscriptions","organizations_url":"https://api.github.com/users/oconn/orgs","repos_url":"https://api.github.com/users/oconn/repos","events_url":"https://api.github.com/users/oconn/events{/privacy}","received_events_url":"https://api.github.com/users/oconn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-16T20:03:06Z","updated_at":"2016-07-16T21:10:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/willowtreeapps/battlebots/pulls/75","html_url":"https://github.com/willowtreeapps/battlebots/pull/75","diff_url":"https://github.com/willowtreeapps/battlebots/pull/75.diff","patch_url":"https://github.com/willowtreeapps/battlebots/pull/75.patch"},"body":"@JanxSpirit @mprichard @emilyseibert @thoughtmanifest @cch1 \r\n\r\nI wanted to see if I could get some more eyes on this and also get opinions on the added gameplay idea (Detailed below).\r\n\r\nThanks for any help!\r\n\r\ncloses issue #45 \r\n\r\n### Changes\r\n\r\n- Add destroyed metadata when a shot destroys a space\r\n- Add destroy space functionality to shoot\r\n- Add player damage to shoot\r\n- Add energy consumption logic to shooter\r\n- Add energy reward logic to shooter\r\n- Refactor initializers & finializers\r\n- Add tests for shoot\r\n\r\n### Added Gameplay Idea (Shoot Reward)\r\n\r\nI added the concept of rewarding a player for shooting a space that is `destructible`. This is subject to change, but I kinda like the implication. Here's how it works.\r\n\r\n- Player A gives 10 energy to it's shot.\r\n- Player A's energy is decremented by 10.\r\n- Shot can travel 10 spaces.\r\n\r\n- *Space 1* open\r\n    - The shots travel distance is reduced to 9\r\n- *Space 2* block with 1 energy.\r\n    - The block is destroyed\r\n    - The shot's energy is reduced to 9\r\n    - The shots travel distance is reduced to 8\r\n    - Player A receives 1 energy back (Players will get back any energy that goes into damaging / destroying blocks)\r\n- *Space 3* AI with 2 energy\r\n    - The AI is destroyed\r\n    - The shot's energy is reduced to 7\r\n    - The shots travel distance is reduced to 7\r\n    - Player A receives 4 energy (Players will get back 2x energy that goes into damaging / destroying an ai)\r\n- *Space 4* Player B with 100 energy\r\n    - Player B's energy is reduced to 93\r\n    - The shot's energy is reduced to 0\r\n    - The shots travel distance is reduced to 0\r\n    - Player A receives 14 energy (Players will get back 2x energy that goes into damaging / destroying another player)"},"comment":{"url":"https://api.github.com/repos/willowtreeapps/battlebots/issues/comments/233151216","html_url":"https://github.com/willowtreeapps/battlebots/pull/75#issuecomment-233151216","issue_url":"https://api.github.com/repos/willowtreeapps/battlebots/issues/75","id":233151216,"user":{"login":"oconn","id":4649439,"avatar_url":"https://avatars.githubusercontent.com/u/4649439?v=3","gravatar_id":"","url":"https://api.github.com/users/oconn","html_url":"https://github.com/oconn","followers_url":"https://api.github.com/users/oconn/followers","following_url":"https://api.github.com/users/oconn/following{/other_user}","gists_url":"https://api.github.com/users/oconn/gists{/gist_id}","starred_url":"https://api.github.com/users/oconn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oconn/subscriptions","organizations_url":"https://api.github.com/users/oconn/orgs","repos_url":"https://api.github.com/users/oconn/repos","events_url":"https://api.github.com/users/oconn/events{/privacy}","received_events_url":"https://api.github.com/users/oconn/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T21:10:17Z","updated_at":"2016-07-16T21:10:17Z","body":"I added a demo video to the #battlebots channel in the Cville slack as well"}}
{"actor":{"display_login":"oconn"}}