Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
roulette
master
Top Level Namespace
Algorithm
AllRed
AntiDAlembert
Bet
BetColor
Color
BetEvenOdd
EvenOdd
BetHighLow
HighLow
BetStraight
BetType
Cli
Cocomo
DAlembert
GameOver
Input
Int32
Martingale
MonteCarlo
Options
Pare
Printer
Profile
RoulatteAnimation
Roulette
Runner
Result
TenPercent
Built with Crystal 1.9.2
2023-10-07 21:05:39 UTC
class
BetHighLow
BetHighLow
BetType
Reference
Object
Overview
Bet on whether the winning number will be low (lower than 19) or high
Defined in:
roulette/bet/bet_type/bet_high_low.cr
Constructors
.new
(high_low : HighLow)
Instance Method Summary
#display
: String
#dividend
: Int32
#win?
(number : Int32) : Bool
Instance methods inherited from class
BetType
display : String
display
,
dividend : Int32
dividend
,
win?(number : Int32) : Bool
win?
Constructor Detail
def self.
new
(high_low :
HighLow
)
#
[
View source
]
Instance Method Detail
def
display
: String
#
[
View source
]
def
dividend
:
Int32
#
[
View source
]
def
win?
(number :
Int32
) : Bool
#
[
View source
]