{"id":15985342,"url":"https://github.com/ioleo/code-kata-dice-game-simulator","last_synced_at":"2026-05-12T20:32:35.199Z","repository":{"id":73269702,"uuid":"80820091","full_name":"ioleo/code-kata-dice-game-simulator","owner":"ioleo","description":"Dice game simulator code kata is Scala.","archived":false,"fork":false,"pushed_at":"2017-02-15T09:13:28.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T11:13:36.423Z","etag":null,"topics":["code-kata"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ioleo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-03T10:40:21.000Z","updated_at":"2017-02-03T10:42:50.000Z","dependencies_parsed_at":"2023-02-26T11:45:22.653Z","dependency_job_id":null,"html_url":"https://github.com/ioleo/code-kata-dice-game-simulator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioleo%2Fcode-kata-dice-game-simulator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioleo%2Fcode-kata-dice-game-simulator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioleo%2Fcode-kata-dice-game-simulator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ioleo%2Fcode-kata-dice-game-simulator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ioleo","download_url":"https://codeload.github.com/ioleo/code-kata-dice-game-simulator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240755469,"owners_count":19852396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-kata"],"created_at":"2024-10-08T02:20:54.231Z","updated_at":"2026-05-12T20:32:30.164Z","avatar_url":"https://github.com/ioleo.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code-kata-dice-game-simulator\n\nWrite a dice simulator. The game is played by P players (at least two) and takes R rounds (at least one). \nEach round each player rolls D 6-sided dices (at least one) and sums the results. Each round players \ntotals are compared and gain scores. Loosers gain 0 points. If there is a solo winner, he gets 2 points. \nIf there is a draw among the winners, each gets 1 point.\n\n```\nval p: Int = 2\nval r: Int = 4\nval d: Int = 3\n```\n\nWhich represents following information:\n\n* number of players - 2\n* number of rounds - 4\n* number of dices - 3\n\n\u003e Note: the solution should take form of an interactive console application. User should be asked to provide\n\u003e the simulation parameters.\n\nAs a result, the game progress should be printed to console, with detailed information about each players rolls\nin each rounds, so the winner can be manually confirmed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioleo%2Fcode-kata-dice-game-simulator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fioleo%2Fcode-kata-dice-game-simulator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fioleo%2Fcode-kata-dice-game-simulator/lists"}