Skip to content

Instantly share code, notes, and snippets.

@takano32
Created November 30, 2023 08:07
Show Gist options
  • Save takano32/e8c0210c7cc517467766527a205fe9df to your computer and use it in GitHub Desktop.
Save takano32/e8c0210c7cc517467766527a205fe9df to your computer and use it in GitHub Desktop.
ドドスコ問題
ddsk = ['ドド', 'スコ']
ddsksksk3 = []
until ddsksksk3 == [0, 1, 1, 1] * 3
ddsksksk3.shift if ddsksksk3.size > 11
ds = [0, 1].sample
ddsksksk3.push ds
print ddsk[ds]
end
puts 'ラブ注入♡'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment