Skip to content

Instantly share code, notes, and snippets.

const rd = max => Math.random()*max>>0
const rd_accurate = max => Math.floor(Math.random()*max)
const rd_arr = arr => arr[Math.random() * arr.length>>0]
const rd_MM = (min,max) => Math.floor(Math.random() * (max - min + 1) + min);
@LeonNikolai
LeonNikolai / MinecraftFishNames.txt
Last active June 30, 2020 11:27
All valid minecraft tropical fish variations and their names. All names are code generated according to the minecraft java edition fish naming system, unique fish names like "clownfish" have been manually inserted.
0 White Kob
1 White Flopper
256 White Sunstreak
257 White Stripey
512 White Snooper
513 White Glitter
768 White Dasher
769 White Blockfish
1024 White Brinely
1025 White Betty

Keybase proof

I hereby claim:

  • I am leonnikolai on github.
  • I am leonnikolai (https://keybase.io/leonnikolai) on keybase.
  • I have a public key ASBLMSRl-yEq8357NP34wGLdvJ3W3MTsoG5fW9YjI_jZYQo

To claim this, I am signing this object: