Global Feed Post Login
Replying to Avatar きりの

/run ruby

points=0

DICE=['う','お','こ','ま','ち', 'ん']

ROLE=[

['うんち', 1000],

['うんこ', 1000],

['まんこ', 1000],

['ちんこ', 1000],

['ちんちん', 3000],

['おまんこ', 5000],

['おちんちん', 10000]

]

while points == 0

res=""

5.times do |n|

res += DICE.sample

end

ROLE.each do |r|

c, p = r

if res.sort.include?(c.sort)

points += p

puts c, p

end

end

puts res, points

c3
c3db91f2... 2y ago

file0.code:25: syntax error, unexpected end-of-input, expecting `end'

Reply to this note

Please Login to reply.

Discussion

No replies yet.