{"id":20702920,"url":"https://github.com/kanevk/poker-engine","last_synced_at":"2025-07-13T07:35:24.768Z","repository":{"id":56888423,"uuid":"105315495","full_name":"kanevk/poker-engine","owner":"kanevk","description":"Horizontally scalable, immutable, and thread-safe poker library written in Ruby.","archived":false,"fork":false,"pushed_at":"2023-07-16T06:33:40.000Z","size":224,"stargazers_count":11,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T16:03:54.964Z","etag":null,"topics":["card-game","game-engine","game-logic","holdem","holdem-poker","poker","poker-engine","poker-hands","poker-library","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/kanevk.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,"zenodo":null}},"created_at":"2017-09-29T20:44:00.000Z","updated_at":"2025-05-21T17:13:04.000Z","dependencies_parsed_at":"2025-04-23T00:16:57.216Z","dependency_job_id":"f73fca17-d49c-4187-8131-b674dacbedb7","html_url":"https://github.com/kanevk/poker-engine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/kanevk/poker-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanevk%2Fpoker-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanevk%2Fpoker-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanevk%2Fpoker-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanevk%2Fpoker-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kanevk","download_url":"https://codeload.github.com/kanevk/poker-engine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kanevk%2Fpoker-engine/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265106463,"owners_count":23712339,"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":["card-game","game-engine","game-logic","holdem","holdem-poker","poker","poker-engine","poker-hands","poker-library","ruby"],"created_at":"2024-11-17T01:05:30.383Z","updated_at":"2025-07-13T07:35:24.736Z","avatar_url":"https://github.com/kanevk.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Poker Engine\n\nHorizontally scalable, immutable, and thread-safe poker library written in Ruby,\nutilizing the [Redux design pattern](https://redux.js.org/recipes/structuring-reducers/structuring-reducers#structuring-reducers)\nand [Persistent data structures](https://en.wikipedia.org/wiki/Persistent_data_structure).\n\n## Example\n\nThere is a simple console interface that you can run `./examples/simple-gameplay.rb` and play against yourself!\n\nValid moves:\n- check\n- fold\n- call\n- raise [bet amount], example: __raise 100__\n\n## Documentation\n\nYou can think about the `PokerEngine::Game` like for a state machine. You can initiate it with `.start` and you can transition from one state in another with `.next`.\n\nFor more info check you can check the [console example](./examples/simple-gameplay.rb) or the [integration spec](./spec/integration_spec.rb).\n\n## Setup\n\n1. Make sure you have Ruby and bundler installed\n\n2. Clone the repo\n\n```shell\ngit clone git@github.com:kanevk/poker-engine.git\n```\n\n3. Install the dependencies\n```shell\nbundle\n```\n\n4. Run tests\n\n```shell\nbundle exec rspec -fd\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanevk%2Fpoker-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkanevk%2Fpoker-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkanevk%2Fpoker-engine/lists"}