Re:Show HN: Deck of Cards – A playing card API
by Navarr on Monday May 11, 2015 @09:50AM
(#9524675)
There are so many things a good API would have to do...
Different types of decks, handling of a discard, shuffling a card into the deck, shuffling the discard pile into the deck, handling hands, milling a card from the deck, multiple decks acting as one...
Though the simplicity of this api currently just having a deck that you take cards from is neat.
Different types of decks, handling of a discard, shuffling a card into the deck, shuffling the discard pile into the deck, handling hands, milling a card from the deck, multiple decks acting as one...
Though the simplicity of this api currently just having a deck that you take cards from is neat.