{"action":"created","comment":{"url":"https://api.github.com/repos/leletec/mpmp/pulls/comments/68068055","id":68068055,"diff_hunk":"@@ -0,0 +1,62 @@\n+package model;\n+\n+import java.util.Random;\n+\n+/**\n+ * Class Diceroll represents a dice roll: it stores the total rolled sum\n+ * and the amount of paschs (times when all dice show the same face).\n+ * The roll happens in the constructor; the values are never changed thereafter.\n+ */\n+public class Diceroll {\n+\tprivate static final Random r = new Random();\n+\tprivate static final int Ndice = 2;\n+\tprivate static final int Nfaces = 6;\n+\n+\tprivate int sum;\n+\tprivate int paschs;","path":"mpmp/src/model/Diceroll.java","position":16,"original_position":16,"commit_id":"6e9aae528a54eae2ba57ac5a9f5f37e3b13e2eab","original_commit_id":"d52f6ddade1a71895de9bdc6c6287f5bc860d2c7","user":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"body":"Only if you have two dice. If you have more.... :stuck_out_tongue: ","created_at":"2016-06-22T14:54:31Z","updated_at":"2016-06-22T14:54:31Z","html_url":"https://github.com/leletec/mpmp/pull/32#discussion_r68068055","pull_request_url":"https://api.github.com/repos/leletec/mpmp/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/leletec/mpmp/pulls/comments/68068055"},"html":{"href":"https://github.com/leletec/mpmp/pull/32#discussion_r68068055"},"pull_request":{"href":"https://api.github.com/repos/leletec/mpmp/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/leletec/mpmp/pulls/32","id":74488394,"html_url":"https://github.com/leletec/mpmp/pull/32","diff_url":"https://github.com/leletec/mpmp/pull/32.diff","patch_url":"https://github.com/leletec/mpmp/pull/32.patch","issue_url":"https://api.github.com/repos/leletec/mpmp/issues/32","number":32,"state":"closed","locked":false,"title":"More game logic","user":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"body":"All of the methods noted in #30, but that issue is likely to get expanded again.","created_at":"2016-06-20T18:18:10Z","updated_at":"2016-06-22T14:54:31Z","closed_at":"2016-06-22T14:51:13Z","merged_at":"2016-06-22T14:51:13Z","merge_commit_sha":"01044a0324704afcbb5130b370afe9b5c5e59cb1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leletec/mpmp/pulls/32/commits","review_comments_url":"https://api.github.com/repos/leletec/mpmp/pulls/32/comments","review_comment_url":"https://api.github.com/repos/leletec/mpmp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leletec/mpmp/issues/32/comments","statuses_url":"https://api.github.com/repos/leletec/mpmp/statuses/6e9aae528a54eae2ba57ac5a9f5f37e3b13e2eab","head":{"label":"okitec:logic","ref":"logic","sha":"6e9aae528a54eae2ba57ac5a9f5f37e3b13e2eab","user":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"repo":{"id":60408937,"name":"mpmp","full_name":"okitec/mpmp","owner":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/okitec/mpmp","description":"A version of Monopoly, situated in the Weimar republic.","fork":true,"url":"https://api.github.com/repos/okitec/mpmp","forks_url":"https://api.github.com/repos/okitec/mpmp/forks","keys_url":"https://api.github.com/repos/okitec/mpmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/okitec/mpmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/okitec/mpmp/teams","hooks_url":"https://api.github.com/repos/okitec/mpmp/hooks","issue_events_url":"https://api.github.com/repos/okitec/mpmp/issues/events{/number}","events_url":"https://api.github.com/repos/okitec/mpmp/events","assignees_url":"https://api.github.com/repos/okitec/mpmp/assignees{/user}","branches_url":"https://api.github.com/repos/okitec/mpmp/branches{/branch}","tags_url":"https://api.github.com/repos/okitec/mpmp/tags","blobs_url":"https://api.github.com/repos/okitec/mpmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/okitec/mpmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/okitec/mpmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/okitec/mpmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/okitec/mpmp/statuses/{sha}","languages_url":"https://api.github.com/repos/okitec/mpmp/languages","stargazers_url":"https://api.github.com/repos/okitec/mpmp/stargazers","contributors_url":"https://api.github.com/repos/okitec/mpmp/contributors","subscribers_url":"https://api.github.com/repos/okitec/mpmp/subscribers","subscription_url":"https://api.github.com/repos/okitec/mpmp/subscription","commits_url":"https://api.github.com/repos/okitec/mpmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/okitec/mpmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/okitec/mpmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/okitec/mpmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/okitec/mpmp/contents/{+path}","compare_url":"https://api.github.com/repos/okitec/mpmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/okitec/mpmp/merges","archive_url":"https://api.github.com/repos/okitec/mpmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/okitec/mpmp/downloads","issues_url":"https://api.github.com/repos/okitec/mpmp/issues{/number}","pulls_url":"https://api.github.com/repos/okitec/mpmp/pulls{/number}","milestones_url":"https://api.github.com/repos/okitec/mpmp/milestones{/number}","notifications_url":"https://api.github.com/repos/okitec/mpmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/okitec/mpmp/labels{/name}","releases_url":"https://api.github.com/repos/okitec/mpmp/releases{/id}","deployments_url":"https://api.github.com/repos/okitec/mpmp/deployments","created_at":"2016-06-04T12:19:13Z","updated_at":"2016-06-04T12:19:14Z","pushed_at":"2016-06-22T14:38:59Z","git_url":"git://github.com/okitec/mpmp.git","ssh_url":"git@github.com:okitec/mpmp.git","clone_url":"https://github.com/okitec/mpmp.git","svn_url":"https://github.com/okitec/mpmp","homepage":"","size":54597,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"leletec:master","ref":"master","sha":"022372809f88b867d97b03cd21e482c420daec6e","user":{"login":"leletec","id":18560551,"avatar_url":"https://avatars.githubusercontent.com/u/18560551?v=3","gravatar_id":"","url":"https://api.github.com/users/leletec","html_url":"https://github.com/leletec","followers_url":"https://api.github.com/users/leletec/followers","following_url":"https://api.github.com/users/leletec/following{/other_user}","gists_url":"https://api.github.com/users/leletec/gists{/gist_id}","starred_url":"https://api.github.com/users/leletec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leletec/subscriptions","organizations_url":"https://api.github.com/users/leletec/orgs","repos_url":"https://api.github.com/users/leletec/repos","events_url":"https://api.github.com/users/leletec/events{/privacy}","received_events_url":"https://api.github.com/users/leletec/received_events","type":"User","site_admin":false},"repo":{"id":57288284,"name":"mpmp","full_name":"leletec/mpmp","owner":{"login":"leletec","id":18560551,"avatar_url":"https://avatars.githubusercontent.com/u/18560551?v=3","gravatar_id":"","url":"https://api.github.com/users/leletec","html_url":"https://github.com/leletec","followers_url":"https://api.github.com/users/leletec/followers","following_url":"https://api.github.com/users/leletec/following{/other_user}","gists_url":"https://api.github.com/users/leletec/gists{/gist_id}","starred_url":"https://api.github.com/users/leletec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leletec/subscriptions","organizations_url":"https://api.github.com/users/leletec/orgs","repos_url":"https://api.github.com/users/leletec/repos","events_url":"https://api.github.com/users/leletec/events{/privacy}","received_events_url":"https://api.github.com/users/leletec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leletec/mpmp","description":"A version of Monopoly, situated in the Weimar republic.","fork":false,"url":"https://api.github.com/repos/leletec/mpmp","forks_url":"https://api.github.com/repos/leletec/mpmp/forks","keys_url":"https://api.github.com/repos/leletec/mpmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leletec/mpmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leletec/mpmp/teams","hooks_url":"https://api.github.com/repos/leletec/mpmp/hooks","issue_events_url":"https://api.github.com/repos/leletec/mpmp/issues/events{/number}","events_url":"https://api.github.com/repos/leletec/mpmp/events","assignees_url":"https://api.github.com/repos/leletec/mpmp/assignees{/user}","branches_url":"https://api.github.com/repos/leletec/mpmp/branches{/branch}","tags_url":"https://api.github.com/repos/leletec/mpmp/tags","blobs_url":"https://api.github.com/repos/leletec/mpmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leletec/mpmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leletec/mpmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/leletec/mpmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leletec/mpmp/statuses/{sha}","languages_url":"https://api.github.com/repos/leletec/mpmp/languages","stargazers_url":"https://api.github.com/repos/leletec/mpmp/stargazers","contributors_url":"https://api.github.com/repos/leletec/mpmp/contributors","subscribers_url":"https://api.github.com/repos/leletec/mpmp/subscribers","subscription_url":"https://api.github.com/repos/leletec/mpmp/subscription","commits_url":"https://api.github.com/repos/leletec/mpmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/leletec/mpmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/leletec/mpmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/leletec/mpmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/leletec/mpmp/contents/{+path}","compare_url":"https://api.github.com/repos/leletec/mpmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leletec/mpmp/merges","archive_url":"https://api.github.com/repos/leletec/mpmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leletec/mpmp/downloads","issues_url":"https://api.github.com/repos/leletec/mpmp/issues{/number}","pulls_url":"https://api.github.com/repos/leletec/mpmp/pulls{/number}","milestones_url":"https://api.github.com/repos/leletec/mpmp/milestones{/number}","notifications_url":"https://api.github.com/repos/leletec/mpmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leletec/mpmp/labels{/name}","releases_url":"https://api.github.com/repos/leletec/mpmp/releases{/id}","deployments_url":"https://api.github.com/repos/leletec/mpmp/deployments","created_at":"2016-04-28T09:26:19Z","updated_at":"2016-05-26T10:18:43Z","pushed_at":"2016-06-22T14:52:50Z","git_url":"git://github.com/leletec/mpmp.git","ssh_url":"git@github.com:leletec/mpmp.git","clone_url":"https://github.com/leletec/mpmp.git","svn_url":"https://github.com/leletec/mpmp","homepage":"","size":54604,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":9,"forks":3,"open_issues":9,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leletec/mpmp/pulls/32"},"html":{"href":"https://github.com/leletec/mpmp/pull/32"},"issue":{"href":"https://api.github.com/repos/leletec/mpmp/issues/32"},"comments":{"href":"https://api.github.com/repos/leletec/mpmp/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/leletec/mpmp/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/leletec/mpmp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leletec/mpmp/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/leletec/mpmp/statuses/6e9aae528a54eae2ba57ac5a9f5f37e3b13e2eab"}}}}
{"actor":{"display_login":"okitec"}}