#card-game #set #bridge #64-bit #playing

bridge-deck

Yet another library for playing cards and sets of cards

2 releases

0.1.1 Dec 9, 2020
0.1.0 Dec 8, 2020

#30 in #playing

MIT/Apache

12KB
216 lines

This crate defines a type Card for an individual card (Card) and another type Cards for a deck or hand of cards.


bridge-cards

This crate provides two data types, Card and Cards to represent cards in a card game. It is notable in that the size of these objects are 8 and 64 bits respectively, so they're pretty compact.

Dependencies

~1.5MB
~21K SLoC