Skip to content

Instantly share code, notes, and snippets.

@quiiver
Created December 3, 2022 14:49
Show Gist options
  • Select an option

  • Save quiiver/fee7fe66bc52519f2bad31c81845fc8a to your computer and use it in GitHub Desktop.

Select an option

Save quiiver/fee7fe66bc52519f2bad31c81845fc8a to your computer and use it in GitHub Desktop.
➜ draw-names node draw.js
Draw Names Iteration 0 for group [ 'wil', 'rachel', 'jess', 'sam', 'anna', 'scram' ]
available names for wil: [ 'rachel', 'sam', 'scram' ]
available names for rachel: [ 'wil', 'jess', 'anna' ]
available names for jess: [ 'sam', 'anna' ]
available names for sam: [ 'wil', 'rachel' ]
available names for anna: [ 'wil' ]
available names for scram: [ 'sam' ]
wil -> scram
rachel -> jess
jess -> anna
sam -> rachel
anna -> wil
scram -> sam
Draw Names Iteration 0 for group [ 'eidolin', 'james casy', 'levin', 'wyatt', 'amaelia', 'grace' ]
available names for eidolin: [ 'levin', 'wyatt', 'grace' ]
available names for james casy: [ 'wyatt', 'amaelia' ]
available names for levin: [ 'eidolin', 'amaelia' ]
available names for wyatt: [ 'james casy', 'levin' ]
available names for amaelia: [ 'james casy' ]
available names for grace: [ 'amaelia' ]
eidolin -> grace
james casy -> wyatt
levin -> eidolin
wyatt -> levin
amaelia -> james casy
grace -> amaelia
➜ draw-names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment