Skip to content

Instantly share code, notes, and snippets.

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

Embed
What would you like to do?
function star_color()
return shuffle_colors({7,7,7,7,7,0,1}) -- white, black, dark blue
end
function shuffle_colors(colors)
local i=ceil(rnd(#colors))
return colors[i]
end
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.