Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Algorithm
Inherits
Reference
<
Object
Constants
ALL = [
AllRed
,
Martingale
,
Pare
,
TenPercent
,
DAlembert
,
AntiDAlembert
,
Cocomo
,
MonteCarlo
]
Instance methods
amount
(prev_spin :
Int32
) :
Int32
Source
balance
Source
balance_history
Source
bet_history
Source
bets
(prev_spin :
Int32
) :
Array
(
Bet
)
Source
deposit
(balance :
Int32
)
Source
name
Source
random_color
Source
result_balance
Source
set_result
(total :
Int32
, number :
Int32
, bets :
Array
(
Bet
))
Source
start_balance
Source
win?
(prev_spin :
Int32
) :
Bool
Source
win?
Source
win_amount
Source