Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const int DECK_SIZE = 52
for first_index from 1 to DECK_SIZE:
second_index = randomInt(DECK_SIZE)
swap(first_index, second_index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.