Quantcast
Channel: Create winnable "random" solitaire shuffles - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Create winnable "random" solitaire shuffles

$
0
0

I've created a solitaire game for Mac, but people keep complaining that there's not enough "winning" shuffles. People have a win-rate of about 5%-10%, where their usual win-rate is around 50%.

Right now, I'm creating an array with all the cards in the deck and after that I shuffle that array, using the F/Y method.

So my question is... is there any way that I can "check" for a winning solitaire shuffle, so I can bump up the numbers of winning solitaire shuffles I'm dealing to people?


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>