{"action":"created","issue":{"url":"https://api.github.com/repos/rbalazs/fylingdarts/issues/1","labels_url":"https://api.github.com/repos/rbalazs/fylingdarts/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/rbalazs/fylingdarts/issues/1/comments","events_url":"https://api.github.com/repos/rbalazs/fylingdarts/issues/1/events","html_url":"https://github.com/rbalazs/fylingdarts/issues/1","id":80926565,"number":1,"title":"Create history collection per player to achive pure highest throw computation","user":{"login":"rbalazs","id":1642641,"avatar_url":"https://avatars.githubusercontent.com/u/1642641?v=3","gravatar_id":"","url":"https://api.github.com/users/rbalazs","html_url":"https://github.com/rbalazs","followers_url":"https://api.github.com/users/rbalazs/followers","following_url":"https://api.github.com/users/rbalazs/following{/other_user}","gists_url":"https://api.github.com/users/rbalazs/gists{/gist_id}","starred_url":"https://api.github.com/users/rbalazs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbalazs/subscriptions","organizations_url":"https://api.github.com/users/rbalazs/orgs","repos_url":"https://api.github.com/users/rbalazs/repos","events_url":"https://api.github.com/users/rbalazs/events{/privacy}","received_events_url":"https://api.github.com/users/rbalazs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-26T11:47:10Z","updated_at":"2015-05-28T08:53:39Z","closed_at":"2015-05-28T08:53:39Z","body":""},"comment":{"url":"https://api.github.com/repos/rbalazs/fylingdarts/issues/comments/106237159","html_url":"https://github.com/rbalazs/fylingdarts/issues/1#issuecomment-106237159","issue_url":"https://api.github.com/repos/rbalazs/fylingdarts/issues/1","id":106237159,"user":{"login":"richercs","id":5513111,"avatar_url":"https://avatars.githubusercontent.com/u/5513111?v=3","gravatar_id":"","url":"https://api.github.com/users/richercs","html_url":"https://github.com/richercs","followers_url":"https://api.github.com/users/richercs/followers","following_url":"https://api.github.com/users/richercs/following{/other_user}","gists_url":"https://api.github.com/users/richercs/gists{/gist_id}","starred_url":"https://api.github.com/users/richercs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richercs/subscriptions","organizations_url":"https://api.github.com/users/richercs/orgs","repos_url":"https://api.github.com/users/richercs/repos","events_url":"https://api.github.com/users/richercs/events{/privacy}","received_events_url":"https://api.github.com/users/richercs/received_events","type":"User","site_admin":false},"created_at":"2015-05-28T08:53:39Z","updated_at":"2015-05-28T08:53:39Z","body":"This feature has been implemented:\r\n    this.turnScore = function (currentPlayer) {\r\n        var countDarts = _this.thrown() + 1;\r\n        var turnThrows = currentPlayer.history.slice(-countDarts);\r\n        var turnSum = 0;\r\n        for (var i = 0; i < countDarts; i++) {\r\n            turnSum += turnThrows[i];\r\n        }\r\n        currentPlayer.turnHistory.push(turnSum);\r\n    };"}}