Skip to content

Instantly share code, notes, and snippets.

@BMU-Verlag
Created July 30, 2019 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BMU-Verlag/ef9ebaec3ed0fcc6ad2073a9efee5096 to your computer and use it in GitHub Desktop.
Save BMU-Verlag/ef9ebaec3ed0fcc6ad2073a9efee5096 to your computer and use it in GitHub Desktop.
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