{"action":"created","issue":{"url":"https://api.github.com/repos/google/boardgame.io/issues/105","repository_url":"https://api.github.com/repos/google/boardgame.io","labels_url":"https://api.github.com/repos/google/boardgame.io/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/google/boardgame.io/issues/105/comments","events_url":"https://api.github.com/repos/google/boardgame.io/issues/105/events","html_url":"https://github.com/google/boardgame.io/pull/105","id":296063338,"number":105,"title":"Dice: Adding Dice to UI Package","user":{"login":"weatherfordmat","id":13956201,"avatar_url":"https://avatars1.githubusercontent.com/u/13956201?v=4","gravatar_id":"","url":"https://api.github.com/users/weatherfordmat","html_url":"https://github.com/weatherfordmat","followers_url":"https://api.github.com/users/weatherfordmat/followers","following_url":"https://api.github.com/users/weatherfordmat/following{/other_user}","gists_url":"https://api.github.com/users/weatherfordmat/gists{/gist_id}","starred_url":"https://api.github.com/users/weatherfordmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weatherfordmat/subscriptions","organizations_url":"https://api.github.com/users/weatherfordmat/orgs","repos_url":"https://api.github.com/users/weatherfordmat/repos","events_url":"https://api.github.com/users/weatherfordmat/events{/privacy}","received_events_url":"https://api.github.com/users/weatherfordmat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-10T01:57:18Z","updated_at":"2018-02-11T06:48:53Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/google/boardgame.io/pulls/105","html_url":"https://github.com/google/boardgame.io/pull/105","diff_url":"https://github.com/google/boardgame.io/pull/105.diff","patch_url":"https://github.com/google/boardgame.io/pull/105.patch"},"body":"As part of the UI Toolkit project, I am adding dice as a basic component."},"comment":{"url":"https://api.github.com/repos/google/boardgame.io/issues/comments/364727560","html_url":"https://github.com/google/boardgame.io/pull/105#issuecomment-364727560","issue_url":"https://api.github.com/repos/google/boardgame.io/issues/105","id":364727560,"user":{"login":"Stefan-Hanke","id":1977938,"avatar_url":"https://avatars1.githubusercontent.com/u/1977938?v=4","gravatar_id":"","url":"https://api.github.com/users/Stefan-Hanke","html_url":"https://github.com/Stefan-Hanke","followers_url":"https://api.github.com/users/Stefan-Hanke/followers","following_url":"https://api.github.com/users/Stefan-Hanke/following{/other_user}","gists_url":"https://api.github.com/users/Stefan-Hanke/gists{/gist_id}","starred_url":"https://api.github.com/users/Stefan-Hanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stefan-Hanke/subscriptions","organizations_url":"https://api.github.com/users/Stefan-Hanke/orgs","repos_url":"https://api.github.com/users/Stefan-Hanke/repos","events_url":"https://api.github.com/users/Stefan-Hanke/events{/privacy}","received_events_url":"https://api.github.com/users/Stefan-Hanke/received_events","type":"User","site_admin":false},"created_at":"2018-02-11T06:48:53Z","updated_at":"2018-02-11T06:48:53Z","author_association":"NONE","body":"This code currently does not use the library at all - it is just the UI side of rolling a die. It is decoupled by introducing an `onClick` prop.\r\n\r\nIt is not the dice to generate the random value - drop that code. The random value is going to be _injected_ into the die (presumably via a prop), since in a multiplayer game it will be generated on the server and passed down to the client.\r\n\r\nIf we want to use this as an _example_ of how to use randomness and dice together, I'd suggest you create a real one below a _examples/components/randomdice/_ directory. I'd use an exiting component to get started."}}
{"actor":{"display_login":"Stefan-Hanke"}}