Quote:
we need source code
As programmer,
your job is to create algorithms that solve specific problems and you can't rely on someone else to eternally do it for you, so there is a time where you will have to learn how to. And the sooner, the better.
Shuffling:
Shuffling - Wikipedia[
^]
An efficient way for shuffling (computer way)
All you need is a deck of cards, cards are at positions 1 to 52.
Draw a number 1 to 52, swap that card with card 52.
Draw a number 1 to 51, swap that card with card 51.
Draw a number 1 to 50, swap that card with card 50.
and so on until shuffling is done.
I let you translate to code.