3 ms·
What's wrong with something like: generate a hash (e.g. md5) of current year (or 'draw' if you do secret santa once a month) and each person's name
by oneeyedpigeon 11y ago
What's wrong with something like:
generate a hash (e.g. md5) of current year (or 'draw' if you do secret santa
once a month) and each person's name
sort the people by their hashes
draw 1 and 2 together, 3 and 4, etc.
- Retric 11y ago"If there is a conflict with that person, slide to the next one on the list." "husband shouldn't draw wife's name, etc." If there is a conflict with the last 2 people, you need to start over.