Ever wondered what method of shuffling a deck guarantees the most randomness? According to a Numberphile video, you should riffle shuffle seven times to make a deck almost completely random. But this doesn't achieve perfect randomness.
This article will guide you through shuffling a deck with perfect randomness using the Fisher–Yates shuffle, which is mathematically guaranteed to be random.