#card #card-game #deck #bridge #playing #bits #hand

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

#24 in #hand

MIT/Apache

12KB
216 lines

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.


lib.rs:

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

Dependencies

~525KB