Skip to content

Instantly share code, notes, and snippets.

@colorbox
Last active Dec 9, 2017
Embed
What would you like to do?
バーチャルのじゃロリ狐娘Youtuberおじさん
def words
[
'Youtuber',
'バーチャル',
'のじゃロリ',
'おじさん',
'狐娘',
'ケモミミ',
'おばさん',
'底辺',
'VR',
]
end
def random(word)
new_word = words[rand(words.count)]
if word != new_word
new_word
else
random(word)
end
end
arr = [random(nil)]
(rand(words.count)).times{|index| arr << random(arr[index]) }
puts arr.join()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment