Deck of Cards API

If you know how to code, it won’t take you long to grasp how handy this is: Deck of Cards API. It features an interface for:

shuffling the deck

drawing a card

reshuffling the cards

getting a brand new deck

getting a partial deck

adding to piles

drawing from piles