Skip to content

Instantly share code, notes, and snippets.

@revdan revdan/star_color.lua
Last active Dec 20, 2018

What would you like to do?
function star_color()
return shuffle_colors({7,7,7,7,7,0,1}) -- white, black, dark blue
function shuffle_colors(colors)
local i=ceil(rnd(#colors))
return colors[i]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.