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
BetColor
BetColor
BetType
Reference
Object
Overview
Bet on the colour of the winning number
Defined in:
roulette/bet/bet_type/bet_color.cr
Constructors
.new
(color : Color)
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
(color :
Color
)
#
[
View source
]
Instance Method Detail
def
display
: String
#
[
View source
]
def
dividend
:
Int32
#
[
View source
]
def
win?
(number :
Int32
) : Bool
#
[
View source
]