class

Cards::Blackjack::GameMode

Inherits Cards::GameMode < JSON::Serializable < Reference < Object

Constants

BLACKJACK_PAYOUT_RATIO = 1.5_f32
SIDE_MARGIN = Card.width * 2

Constructors

new(pull : JSON::PullParser)
Source

Class methods

blackjack_payout_ratio
Source

Instance methods

draw
Source
update(frame_time)
Source