class Printer

Defined in:

bin/printer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(result : Runner::Result) #

[View source]

Instance Method Detail

def algorithm_name : String #

[View source]
def game_over_reason : String #

[View source]
def is_game_over? : Bool #

[View source]
def loose_num : Int32 #

[View source]
def puts_algorithm #

[View source]
def puts_balance #

[View source]
def puts_distribution #

[View source]
def puts_histories #

[View source]
def puts_status #

[View source]
def puts_title #

[View source]
def puts_win_num #

[View source]
def r : Runner::Result #

[View source]
def result_balance : Int32 #

[View source]
def show(title : Bool = true, status : Bool = true, algorithm : Bool = true, balance : Bool = true, win_num : Bool = true, histories : Bool = true, distribution : Bool = true) #

[View source]
def start_balance : Int32 #

[View source]
def total_spins : Int32 #

[View source]
def win_amount : Int32 #

[View source]
def win_num : Int32 #

[View source]