Last active
December 9, 2017 17:08
-
-
Save colorbox/6c67371db44bae35438b8a41ceefb216 to your computer and use it in GitHub Desktop.
バーチャルのじゃロリ狐娘Youtuberおじさん
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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