Skip to content

Instantly share code, notes, and snippets.

@julienw
Last active February 27, 2017 15:10
Show Gist options
  • Save julienw/7e8c32315e01c43f4f02a8a06ff13479 to your computer and use it in GitHub Desktop.
Save julienw/7e8c32315e01c43f4f02a8a06ff13479 to your computer and use it in GitHub Desktop.
mixer
Init:
A and A' are the same person:
A B C D E
A' B' C' D' E'
Round 1:
A B C D E
B' C' D' E' A'
Round 2:
A B C D E
C' D' E' A' B'
...
Round 4:
A B C D E
E' A' B' C' D'
The end.
Adding somebody after Round 2, no problem:
Round 2':
A B C D E F
D' E' A' B' F' C'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment