{"repo":"elliottneilclark/rs-poker","free":true,"listed":false,"github":"https://github.com/elliottneilclark/rs-poker","clone":"git clone https://github.com/elliottneilclark/rs-poker.git","description":"rs-poker is a rust library that includes all of the poker evaluation tools that you need from hand ranking and starting card enumeration to a full agent arena for self learning.","language":"Rust","stars":175,"topics":["poker","cards","poker-cards","poker-hands","holdem","crates","arena","bot","cfr"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"rs-poker The most advanced open-source poker library available. Hand evaluation at 50M+ hands/sec per core, a CFR solver for game-theory optimal strategy approximation, Omaha support (PLO4-PLO7), multi-agent arena simulation, Monte Carlo equity calculation, and ICM tournament simulation — all in Rust. Available as both a library ( rs poker ) and a CLI binary ( rsp ). Quick Start — rsp CLI Install the binary: Rank a hand: Monte Carlo equity simulation (3M hands by default): Calculate outs with board cards: Rank an Omaha hand: Pit agents against each other: Generate hand histories in Open Hand History format: Convert chipEV to $EV in tournaments: Library Usage Add to your project: Parse and rank a hand Monte Carlo equity simulation Omaha hand evaluation Core Foundational types for all poker variants: - Card , Suit , Value — standard 52-card representations - Hand — bitset-backed hand with O(1) card operations via CardBitSet (u64) - FlatHand — vector-backed hand optimized for ranking - Deck — shuffleable deck with dead card support - Rank — full hand ranking: HighCard through StraightFlush with accurate kicker comparison - Rankable trait — unified ranking API implemented by all hand types - PlayerBitSet (u16) — O(1) player tracking for up to 16 players Performance Hand evaluation runs at 50M+ hands/sec per core ( 20ns per 5-card hand, <25ns per 7-card hand). This is achieved through: - CardBitSet (u64) for O(1) card membership, intersection, and union - Gosper's hack for zero-al","default_branch":null,"files":null,"tree":[],"storefront":"/r/elliottneilclark","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/elliottneilclark/rs-poker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}