Situation

class Situation(val dealerUpCard: BlackjackCard?, val handPlayer: HandPlayer?)

In Blackjack, there is a well defined set of situations. An instance of this class represents a single situation. Each situation can be mapped to an action, based on a strategy.

Constructors

Link copied to clipboard
constructor(dealerUpCard: BlackjackCard?, handPlayer: HandPlayer?)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String