{"id":21069014,"url":"https://github.com/tsabelmann/cthulhucmd","last_synced_at":"2025-03-14T02:23:42.337Z","repository":{"id":132849298,"uuid":"321069720","full_name":"tsabelmann/cthulhucmd","owner":"tsabelmann","description":"A command-line tool that provides commands useful in the context of the pen and paper game Cthulhu","archived":false,"fork":false,"pushed_at":"2020-12-13T20:31:49.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T21:39:39.320Z","etag":null,"topics":["and","cthulhu","cthulhu-mythos","dice","dice-roller","gamemaster","paper","pen","pnp","random","roleplay","roleplaying-game"],"latest_commit_sha":null,"homepage":"","language":"Python","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/tsabelmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-12-13T13:19:44.000Z","updated_at":"2021-10-30T11:12:42.000Z","dependencies_parsed_at":"2023-04-04T12:20:10.617Z","dependency_job_id":null,"html_url":"https://github.com/tsabelmann/cthulhucmd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsabelmann%2Fcthulhucmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsabelmann%2Fcthulhucmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsabelmann%2Fcthulhucmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsabelmann%2Fcthulhucmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsabelmann","download_url":"https://codeload.github.com/tsabelmann/cthulhucmd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243510056,"owners_count":20302296,"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":["and","cthulhu","cthulhu-mythos","dice","dice-roller","gamemaster","paper","pen","pnp","random","roleplay","roleplaying-game"],"created_at":"2024-11-19T18:30:23.875Z","updated_at":"2025-03-14T02:23:42.312Z","avatar_url":"https://github.com/tsabelmann.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cthulhu_cmd\nCommand line tool that provides useful commands in the context of the pen and paper game **Cthulhu**.\n\n## Installation\n\n1. ```bash\n   git clone https://github.com/tsabelmann/cthulhu_cmd\n   ```\n2. ```bash\n   cd cthulhu_cmd\n   ```\n3. ```bash\n   poetry install\n   ```\n4. ```bash\n   poetry run cthulhu\n   ```\n\n## Usage\nThe **Cthulhu** command line tool, in form of a REPL, provides two commands: **roll** and **probe**. The **roll** command allows the throwing of dice and the subsequent summation and addition of optional values. The **probe** command allows the check of ones *ability* against **one** thrown \u003cu\u003eD100\u003c/u\u003e with or without *additional* **bonus** or **malus** dice.\n\n## Dice Syntax\n\nA regular dice throw is specified by the *amount* of dice you want to throw and the *dice eyes*. The most common dice eyes are **100**, **20**, **12**, **10**, **8**, **6**, **4**, and **3**.\n\n### Examples\n\n- `1d100`\n- `2D100`\n- `1w20`\n- `3W10`\n- `1d8`\n- `6D6`\n- `1W4`\n- `2w3`\n\n### Disclaimer\nThe letters **w** and **W** can be used as a shortcut because the german word for die or dice is Würfel.\n\n## Value Syntax\n\nValues to be added to the final sum consists of a *sign*, and a *value* part.\n\n### Examples\n\n- `+2`\n- `-3`\n\n## Examples\n\n- `roll 1d100`\n- `roll 2d100 1d10 1d8 1d6 1d4 1d3`\n- `roll 1d20 +3`\n- `roll 1d20 +1+2+3`\n- `probe 50 \\\\ neither bonus nor malus is applied`\n- `probe 50 b 1`\n- `probe 50 B 1`\n- `probe 50 bonus 1`\n- `probe 50 m 1`\n- `probe 50 M 1`\n- `probe 50 malus 1`\n- `probe 50b1`\n- `probe 50B1`\n- `probe 50 b1`\n- `probe 50B 1`\n- `probe 50 BOnUs 1`\n- `probe 50m1`\n- `probe 50M1`\n- `probe 50 m1`\n- `probe 50M 1`\n- `probe 50 MAlUs 1`\n\n## Acknowledgement\nThe command line tool requires the installation of `Poetry`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsabelmann%2Fcthulhucmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsabelmann%2Fcthulhucmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsabelmann%2Fcthulhucmd/lists"}