class Game
- Game
- Reference
- Object
Defined in:
game.crConstant Summary
-
MAX_BET =
10000000.0
-
MIN_BET =
500.0
-
SAVE_FILE =
"bj.txt"
-
START_MONEY =
10000.0
Constructors
Class Method Summary
Instance Method Summary
- #all_bets
- #ask_insurance
- #bet_options
- #build_new_shoe
- #clear
- #current_bet : Float64
- #current_bet=(current_bet : Float64)
- #current_player_hand : Int32
- #current_player_hand=(current_player_hand : Int32)
- #deal_new_hand
- #dealer_hand : DealerHand
- #dealer_hand=(dealer_hand : DealerHand)
- #deck_type : Int32
- #deck_type=(deck_type : Int32)
- #draw_hands
- #face_type : Int32
- #face_type=(face_type : Int32)
- #game_options
- #get_new_bet
- #get_new_deck_type
- #get_new_face_type
- #get_new_num_decks
- #insure_hand
- #load_game
- #money : Float64
- #money=(money : Float64)
- #more_hands_to_play
- #need_to_play_dealer_hand
- #no_insurance
- #normalize_current_bet
- #num_decks : Int32
- #num_decks=(num_decks : Int32)
- #pay_hands
- #play_dealer_hand
- #play_more_hands
- #player_hands : Array(PlayerHand)
- #player_hands=(player_hands : Array(PlayerHand))
- #quitting : Bool
- #quitting=(quitting : Bool)
- #run
- #save_game
- #shoe : Shoe
- #shoe=(shoe : Shoe)
- #split_current_hand