{"id":21058571,"url":"https://github.com/schemar/poker-spinner","last_synced_at":"2025-03-14T00:29:27.644Z","repository":{"id":57578928,"uuid":"45340838","full_name":"schemar/poker-spinner","owner":"schemar","description":"A simulation tool to simulate Spin (\u0026 Go) Poker ROIs","archived":false,"fork":false,"pushed_at":"2015-11-01T13:35:31.000Z","size":152,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T00:08:00.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/schemar.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}},"created_at":"2015-11-01T13:10:26.000Z","updated_at":"2015-11-01T14:46:47.000Z","dependencies_parsed_at":"2022-09-26T19:11:46.934Z","dependency_job_id":null,"html_url":"https://github.com/schemar/poker-spinner","commit_stats":null,"previous_names":["apheleia/poker-spinner"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemar%2Fpoker-spinner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemar%2Fpoker-spinner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemar%2Fpoker-spinner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schemar%2Fpoker-spinner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schemar","download_url":"https://codeload.github.com/schemar/poker-spinner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243503212,"owners_count":20301202,"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-11-19T17:08:25.589Z","updated_at":"2025-03-14T00:29:27.614Z","avatar_url":"https://github.com/schemar.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poker Spinner\nA simulator for the poker \"Spin \u0026 Go\" format.\n\nIt runs `x` tournaments per run and `y` runs. So a total of `x * y` tournaments.\nEach run has a certain return of investemnt (ROI) over all tournaments in that run.\nThe ROIs of all runs are grouped and printed when the simulation is done.\n\n## Usage\n- Copy `config.json.example` to `config.json`\n- Set your parameters in `config.json`\n- Run the binary in the same directory, e.g. `poker-spinner.exe`\n- Set your win rate and how many runs you want to simulate as arguments\n\nExample run:\n```\n$ .\\poker-spinner.exe --winrate 40.5 --runs 10000\n```\n\nFor a win rate of 40.5 percent and 10,000 runs (each with as many tournaments as\nspecified in the config).\n\n## Configuration\n- `tournaments` defines the number of simulated tournaments per run.\n - The ROI per run is calculated from the total of these tournaments.\n- `rounding` defines the precision for the ROI outputs\n- `denominator` only exists to check the config for correctness. It has to equal the sum of all `payouts`' probabilities\n- `payouts` are all possible multipliers and their payouts.\n - The probability is given over the `denominator`. So a probability of `3` actually means `3/denimonator`.\n - `win` and `lose` are the payout multipliers for winning and not winning (second and third place).\n - If `lose` is not given, it is set to `0`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschemar%2Fpoker-spinner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschemar%2Fpoker-spinner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschemar%2Fpoker-spinner/lists"}