/playing-cards

A Rust library for playing cards and poker hand evaluation

Primary LanguageRustApache License 2.0Apache-2.0

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.