Skip to content

Instantly share code, notes, and snippets.

View b2climbing's full-sized avatar

b2climbing b2climbing

View GitHub Profile
class RouletteTable
BLACk=[2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35]
RED=[1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36]
def self.spin
result = rand(37)
return :green if result == 0
return :black if BLACk.include?(result)
return :red if RED.include?(result)
end
class RouletteTable
BLACk=[2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35]
RED=[1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36]
def self.spin
result = rand(37)
return :green if result == 0
return :black if BLACk.include?(result)
return :red if RED.include?(result)
end
class RouletteTable
BLACk=[2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35]
RED=[1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36]
def self.spin
result = rand(37)
return :green if result == 0
return :black if BLACk.include?(result)
return :red if RED.include?(result)
end
class RouletteTable
BLACk=[2,4,6,8,10,11,13,15,17,20,22,24,26,28,29,31,33,35]
RED=[1,3,5,7,9,12,14,16,18,19,21,23,25,27,30,32,34,36]
def self.spin
result = rand(37)
return :green if result == 0
return :black if BLACk.include?(result)
return :red if RED.include?(result)
end