Skip to content

Instantly share code, notes, and snippets.

@SabreCat
Last active December 20, 2015 15:09
Show Gist options
  • Save SabreCat/6152260 to your computer and use it in GitHub Desktop.
Save SabreCat/6152260 to your computer and use it in GitHub Desktop.
Resource for maybe randomizing new users
genders = ['f','m']
hairs = ['blond','black','brown','white']
skins = ['dead','orc','asian','black','white']
genders[Math.floor(Math.random()*(genders.length))]
hairs[Math.floor(Math.random()*(hairs.length))]
skins[Math.floor(Math.random()*(skins.length))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment