deckutil
is the utility library for to manage decks be build by comparable cards.
This library is supporting to an OrderedDeck
and an UnorderedDeck
.
An OrderedDeck
is a deck in which the order of the cards in the deck has meaning.
Cards what simply just called "deck" usually means the OrderedDeck
.
In contrast, an UnorderedDeck
is a deck in which the order of the cards in the deck has not meaning.
It is suited for using like "discard pile", "hand" and more.