-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Order a pile or the entire deck #89
Comments
If you open a new deck and don't shuffle the cards, then they will be in
order, but that's about it.
…On Thu, Sep 10, 2020 at 8:30 AM Breno Reis ***@***.***> wrote:
Is there currently a method to order the cards? This is a nice to have
feature.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#89>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMQLHQNVFBVMJ35D5OR2QLSFDPHPANCNFSM4RFFGHJQ>
.
|
Agreed that it would be really helpful for debugging purposes. The use case I've come across is that it'd be useful create a deck of select cards in a specific order in order to write tests for particular outcomes |
I agree as well, it will be a great feature. |
Okay, I think this is fixed now. Thanks!
…On Sat, Dec 12, 2020 at 6:11 AM roiko20 ***@***.***> wrote:
I agree as well, it will be a great feature.
@crobertsbmw <https://github.com/crobertsbmw> if I create a partial deck
and the order of cards is important for the logic of my app, when I call:
https://deckofcardsapi.com/api/deck/new/?cards=2C,8H,3D,JC,9S,4S,7C,2D,0C,QH,3H,6D,8C,AH,0D,KC,7H,KD,9C,3S,8D
for example, which should return unshuffled as /shuffle/ is not
specified, when I draw cards from it, it does not return in the order I
specified.
It always returns ordered, I think it's Spades->Diamonds->Clubs->Hearts,
so in the above example, I always get 3S first.
However, getting 2C,8H,3D... as in the order I specified in the new deck
request is important for me.
Really appreciate it if you can help me somehow 👍
This is a great project, really appreciate it!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#89 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABMQLHX2ZVJFA6T2UIH7Z3DSUNTX5ANCNFSM4RFFGHJQ>
.
|
Is there currently a method to order the cards? This is a nice to have feature.
The text was updated successfully, but these errors were encountered: