Skip to content

Instantly share code, notes, and snippets.

@itochan
Created November 30, 2010 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itochan/722254 to your computer and use it in GitHub Desktop.
Save itochan/722254 to your computer and use it in GitHub Desktop.
name = ["i", "t", "o", "c", "h", "a", "n"]
i = 0
loopy = 0
while loopy < 10 do
while i < rand(2) + 4 do
print name[rand(name.length)]
i += 1
end
puts
i = 0
loopy += 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment