{"id":19840954,"url":"https://github.com/torvaney/gamblers-dice","last_synced_at":"2025-05-01T19:30:48.913Z","repository":{"id":53628443,"uuid":"98334779","full_name":"Torvaney/gamblers-dice","owner":"Torvaney","description":"A m̶i̶s̶t̶a̶k̶e̶ Python port of xori/gamblers-dice","archived":false,"fork":false,"pushed_at":"2017-07-27T09:25:01.000Z","size":1,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T17:06:46.595Z","etag":null,"topics":["dice","fallacy","gambler-fallacy","python","roll","terrible-idea"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/Torvaney.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}},"created_at":"2017-07-25T17:53:18.000Z","updated_at":"2023-05-02T02:52:02.000Z","dependencies_parsed_at":"2022-08-31T08:30:41.684Z","dependency_job_id":null,"html_url":"https://github.com/Torvaney/gamblers-dice","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/Torvaney%2Fgamblers-dice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fgamblers-dice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fgamblers-dice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Torvaney%2Fgamblers-dice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Torvaney","download_url":"https://codeload.github.com/Torvaney/gamblers-dice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251932599,"owners_count":21667175,"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":["dice","fallacy","gambler-fallacy","python","roll","terrible-idea"],"created_at":"2024-11-12T12:28:49.168Z","updated_at":"2025-05-01T19:30:48.627Z","avatar_url":"https://github.com/Torvaney.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gambler's Fallacy Dice\n\nA Python port of [xori/gamblers-dice](https://github.com/xori/gamblers-dice):\n\n\u003e \u003e The term Gambler's fallacy refers to a misconception about statistics. [...] In statistics, a random event has a certain probability of occurring. The fallacy is that if the event has occurred less frequently in the past, it will be more frequent in the future. -Wikipedia\n\u003e\n\u003e Well no longer is this a fallacy my friends, these dice are real! If you roll a 20 sided die, and you haven't seen a 20 in a while it is statistically more likely to show up in the next roll with these dice. And the best part, it's still uniformly random for large sample sets!\n\n## How do I use it?\n\nDon't!\n\n## But if I *really* want to?\n\n```python\nfrom gamblersdice import FallacyDie\n\ndie = FallacyDie(20)  # 20-sided die\n\nprint(die.roll())  # A number from 1 to 20\nprint(die.roll())  # Keep using the same die\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fgamblers-dice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftorvaney%2Fgamblers-dice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftorvaney%2Fgamblers-dice/lists"}