{"action":"opened","issue":{"url":"https://api.github.com/repos/ga-dc/wdi8-project1-gallery/issues/12","repository_url":"https://api.github.com/repos/ga-dc/wdi8-project1-gallery","labels_url":"https://api.github.com/repos/ga-dc/wdi8-project1-gallery/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/ga-dc/wdi8-project1-gallery/issues/12/comments","events_url":"https://api.github.com/repos/ga-dc/wdi8-project1-gallery/issues/12/events","html_url":"https://github.com/ga-dc/wdi8-project1-gallery/issues/12","id":136435367,"number":12,"title":"Jeffrey Eaton's WAR","user":{"login":"jeffreyeaton76","id":15959851,"avatar_url":"https://avatars.githubusercontent.com/u/15959851?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffreyeaton76","html_url":"https://github.com/jeffreyeaton76","followers_url":"https://api.github.com/users/jeffreyeaton76/followers","following_url":"https://api.github.com/users/jeffreyeaton76/following{/other_user}","gists_url":"https://api.github.com/users/jeffreyeaton76/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffreyeaton76/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffreyeaton76/subscriptions","organizations_url":"https://api.github.com/users/jeffreyeaton76/orgs","repos_url":"https://api.github.com/users/jeffreyeaton76/repos","events_url":"https://api.github.com/users/jeffreyeaton76/events{/privacy}","received_events_url":"https://api.github.com/users/jeffreyeaton76/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T16:19:52Z","updated_at":"2016-02-25T16:19:52Z","closed_at":null,"body":"Link to repo: https://github.com/jeffreyeaton76/war\r\nLink to deployed app: http://jeffreyeaton76.github.io/war/\r\n\r\nThings you'd like specific feedback on: The three-player branch! I got pretty far with it; it runs normal play alright (only \"declares war\" on three-way ties) but starts to freak out when the first player goes out. This is because comparing is keyed off the length position of the cards in the array that holds the cards \"in play\" (stored in `war3.hand`). I introduced a \"zero of hearts\" concept and the first player to get one of those just has their pile reset to zero of hearts after every hand, but that crashes into the fact that war3.gameOver is only triggered when you run out of cards. I'm sorry you'll have to load it separately - it has a separate HTML/CSS/JS files and I didn't have time to properly merge them into a single toggling set. \r\n\r\n"}}