Global Feed Post Login
Replying to Avatar きりの

/run ruby

points=0

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

ROLE=[

['うんち', 1000],

['うんこ', 1000],

['まんこ', 1000],

['ちんこ', 1000],

['ちんちん', 3000],

['おまんこ', 5000],

['おちんちん', 10000]

]

ZORO=[

['ううううう', 4.0],

['ままままま', 4.0],

['ちちちちち', 4.0],

['んんんんん', -4.0],

['こここここ', 3.5],

['おおおおお', 3.5],

['うううう', 3.0],

['まままま', 3.0],

['ちちちち', 3.0],

['んんんん', -4.0],

['ここここ', 2.5],

['おおおお', 2.5],

['ううう', 2.0],

['ままま', 2.0],

['ちちち', 2.0],

['んんん', -3.0],

['こここ', 1.5],

['おおお', 1.5]

]

while points == 0

points=0

res=""

5.times do |n|

res += DICE.sample

end

ROLE.each do |r|

c, p = r

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

points += p

puts c + "! " + p.to_s

end

end

if points > 0

ZORO.each do |z|

c, s = z

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

points *= s

puts c + "! " + s.to_s

break

end

end

end

end

puts "合計 " + points.to_s + " " + res

c3
c3db91f2... 2y ago

ちんこ! 1000

合計 1000 こんちうう

Reply to this note

Please Login to reply.

Discussion

No replies yet.