{"id":16374979,"url":"https://github.com/moderocky/dice","last_synced_at":"2026-03-31T16:30:18.122Z","repository":{"id":191158083,"uuid":"684041598","full_name":"Moderocky/Dice","owner":"Moderocky","description":"A library for dice-based operations.","archived":false,"fork":false,"pushed_at":"2024-03-10T09:54:26.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T04:15:03.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Moderocky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-28T10:30:46.000Z","updated_at":"2023-08-28T10:30:55.000Z","dependencies_parsed_at":"2024-11-08T13:44:00.705Z","dependency_job_id":"dbed88d1-d19b-4041-81c9-36232c242098","html_url":"https://github.com/Moderocky/Dice","commit_stats":null,"previous_names":["moderocky/dice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FDice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FDice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FDice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FDice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moderocky","download_url":"https://codeload.github.com/Moderocky/Dice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239954698,"owners_count":19724286,"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":[],"created_at":"2024-10-11T03:19:01.904Z","updated_at":"2026-03-31T16:30:18.025Z","avatar_url":"https://github.com/Moderocky.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Dice\n=====\n\n### Opus #27\n\nA library for dice-based operations.\n\n## Features\n\n### Dice\n\nAn X-sided die rolled Y times, in the format `XdY`. Alternatively, Y X-sided dice each rolled once.\n\nGenerates a score between `X` and `X*Y` (inclusively).\n\nExamples: `1d20`, `1d6`, `2d8`.\n\n### Bonus\n\nA fixed numerical bonus on dice rolls, to be used in an aggregated score.\n\nExamples: `1`, `-3`, `5`.\n\n### Score\n\nAn aggregate of several dice with additional bonuses.\n\nThis can be simplified into its lowest common representation (e.g. `1d11+1` = `2d6`.)\n\nExamples: `1d6+5`, `2d8+1d4-5`.\n\n### Advantage\n\nAny rolled object can be converted to an 'advantage' version.\nWhen rolled, this will roll twice and return the higher of the two values.\n\n### Disadvantage\n\nAny rolled object can be converted to an 'disadvantage' version.\nWhen rolled, this will roll twice and return the lower of the two values.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoderocky%2Fdice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoderocky%2Fdice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoderocky%2Fdice/lists"}