deckofcards-rs
deckofcards-rs copied to clipboard
Slight Improvements
I have added support for displaying and decoding the unicode suit characters. I also have the need for a predictable shuffle, so I added a seeded_shuffle function that uses Pcg32 and when given a seed, will shuffle predictably. In order to DRY, the knuth_shuffle was abstracted out in such a way that it takes any implenetation of the Rng
trait. I then updated dependencies, converted one file from dos to unix for consistency, and set the version to 0.4.1.
Thanks so much for providing this library as LGPL. I am using it in a small command line card game to help me learn Rust.