#poker #cards #hand-evaluation

playing-cards

A Rust library for playing cards and poker hand evaluation

6 releases

0.1.2 Aug 13, 2023
0.1.1 Aug 13, 2023
0.0.4 Jul 4, 2022

#50 in Simulation

41 downloads per month

MIT/Apache

225KB
3K 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.

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–2MB
~41K SLoC