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

Answer by sawa for Create winnable "random" solitaire shuffles

$
0
0

I read that for some sort of these games, there is no more efficient way than to do brute force checking of all possible moves.

My suggestion for situations like this is to start from the completed state (end of game), and move backwards randomly to create a random start state.


Viewing all articles
Browse latest Browse all 4

Trending Articles



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