-
Notifications
You must be signed in to change notification settings - Fork 344
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
Sometimes card shuffle doesnt work #119
Comments
Sorry, I'm not able to reproduce this. |
Yes, It is like You said, I am using the same deck. I wanted to work the same deck all the time (reshuffle after game instead of taking new deck), according to docs - "Don't throw away a deck when all you want to do is shuffle.". Do You think, that I should go for new deck every game? Here's link yo my repo (Not proud of it, but still learining). |
It sounds like something is weird is going on and you are already getting an new deck. Once a deck is shuffled, it isn't ever "un-shuffled", so if you're getting a deck that is in numerical order, then you're getting a new deck. Could the browser or something be caching responses somehow (try using POST instead of GET if you aren't already). Are you sure that the data is being handled properly? |
Executed 5 times x 10 shuffle each time. But its working properly
Hi, I've also try to replicate this issue. Everything is working properly, @przemo9696 If you want to execute it just clone my repo and execute I suggest to close this issue since nobody seems to be able to replicate it, @crobertsbmw . |
I'm using 3 requests in my app to play Blackjack.
And sometimes it gives me back deck when cards are in order from ace of spades, 2 of spades, 3 of spades ... etc.
The text was updated successfully, but these errors were encountered: