class MonteCarlo
- MonteCarlo
- Algorithm
- Reference
- Object
Defined in:
roulette/algorithm/monte_carlo.crInstance Method Summary
Instance methods inherited from class Algorithm
amount(prev_spin : Int32) : Int32
amount,
balance : Int32
balance,
balance_history : Array(Int32)
balance_history,
bet_history : Array(Array(Bet))
bet_history,
bets(prev_spin : Int32) : Array(Bet)
bets,
deposit(balance : Int32)
deposit,
name : String
name,
random_color : BetColor::Color
random_color,
result_balance : Int32
result_balance,
set_result(total : Int32, number : Int32, bets : Array(Bet))
set_result,
start_balance : Int32
start_balance,
win?(prev_spin : Int32) : Boolwin? : Bool win?, win_amount : Int32 win_amount