#poker #card #hand-evaluation

playing-cards

A Rust library for playing cards and poker hand evaluation

7 releases

0.1.3 Aug 12, 2024
0.1.2 Aug 13, 2023
0.0.4 Jul 4, 2022

#86 in Simulation

Download history 122/week @ 2024-08-12 16/week @ 2024-09-16 16/week @ 2024-09-23 4/week @ 2024-09-30

418 downloads per month

MIT/Apache

230KB
3.5K SLoC

playing-cards

A Rust library for playing cards and poker hand evaluation

Crates.io Docs.rs

DISCLAIMER

This library is still in early development. While I will try to mitgate such a case from occuring, features may be subject to breaking changes across minor version changes. Be sure to check the docs for updates on any changes and deprecations.

MSRV (Minimum Supported Rust Version)

Requires rustc 1.62+

Features

Core

Here is a list of types included within the Core package:

  • Value
  • Suit
  • Card
  • CardDeck

Poker

Here is a list of types included within the Poker feature:

  • Evaluators
    • High Evaluator
    • 2-7 Low Evaluator
    • A-5 Low Evaluator (TODO)
    • Omaha High Evaluator
    • Omaha Hi-Lo Evaluator
    • Dramaha High Evaluator
    • Dramaha 2-7 Evaluator (TODO)
    • Dramahadugi Evaluator (TODO)
    • Dramaha 0 Evaluator (TODO)
    • Dramaha 49 Evaluator (TODO)
    • Shortdeck High Evaluator (TODO)
    • Badugi Evaluator

License

Licensed under either of

at your option.

Contributing

Please see CONTRIBUTING.md for more information.

Dependencies

~1.8–2.5MB
~54K SLoC