Deck of cards online

broken image

Separate the card codes with commas, and each card code is a just a two character case-insensitive string: If you want to use a partial deck, then you can pass the card codes you want to use using the cards parameter. Hot Tip: Add jokers_enabled=true as a GET or POST parameter to your request to include two Jokers in the deck. followed by diamonds, clubs, then hearts. Adding the remaining=true parameter will only shuffle those cards remaining in the main stack, leaving any piles or drawn cards alone.Ī-spades, 2-spades, 3-spades. Don't worry about reminding us how many decks you are playing with. Include the deck_id on your call to shuffle your cards. TIP: replace > with ' new' to create a shuffled deck and draw cards from that deck in the same request.ĭon't throw away a deck when all you want to do is shuffle. After two weeks, if no actions have been made on the deck then we throw it away. We use the deck_id as an identifier so we know who is playing with what deck.

broken image

Be sure to replace deck_id with a valid deck_id. The count variable defines how many cards to draw from the deck.

broken image

Add deck_count as a GET or POST parameter to define the number of Decks you want to use.

broken image