Hacker News new | ask | show | jobs
by andrepd 1392 days ago
I actually did a similar thing using a python script! shuffle(all_combinations[: -10]), and repeat forever. Change the -10 to whatever you want: take everything and you've got your solution, put -35 and you've got random dice again. -10 is a nice middle term, also avoids that at the end of the deck results become too certain.