Crates.io | card_deck |
lib.rs | card_deck |
version | 0.1.9 |
source | src |
created_at | 2018-07-25 16:02:31.536149 |
updated_at | 2019-08-19 14:51:03.712405 |
description | A Generic Deck of Cards, with a draw and discard pile |
homepage | |
repository | https://github.com/storyfeet/card_deck |
max_upload_size | |
id | 75919 |
size | 17,987 |
The intent of this module is to provide methods for managing a deck and discard pile from a deck of generic cards.
The expectation is that cards will moved into and out of the deck, copy and clone are not used internally.
Fixed bug in card creation (All Spades) Enabled from_str and Display for PCard in playing cards Added tests for card creation
PartialEq on deck push_discards now takes an iterator
A playing cards module that works well with this deck.
Added "dig_for" and "dig_all" methods for grabbing the first/all cards that match a filter respectively.