Package-level declarations

Types

Link copied to clipboard
class Bankroll

Your bankroll consists of how many chips you have, and what your stake is.

Link copied to clipboard
Link copied to clipboard
class BlackjackCard(val card: Card)
Link copied to clipboard
Link copied to clipboard
open class BlackjackGameEngine(val logzDsiplayer: LogDsiplayer, val config: BlackjackConfiguration)
Link copied to clipboard
data class BlackjackGameState(val chips: Long, val reloadCount: Long, val reloadAmount: Int, val action: String, val handDealer: HandDealer, val players: List<Player>, val metrics: Metrics, val nextBet: Int, val mistakeHeader: String, val mistakeMessage: String, val dealerMessage: String, val gameStatusVertical: List<String>, val gameStatusHorizontal: String, val statusChipsVertical: List<String>, val statusChipsHorizontal: String, val stakeIncludingHands: Long)
Link copied to clipboard
Link copied to clipboard
class BlackjackShoe(numberOfDecks: Int)
Link copied to clipboard
class Card(val cardDefinition: CardDefinition, val isBlue: Boolean = true)
Link copied to clipboard
Link copied to clipboard
class CasinoRules(val isLateSurrenderAllowed: Boolean, val dealerHitsSoft17: Boolean, val isDoubleAfterSplitAllowed: Boolean, val decks: Int)
Link copied to clipboard
Link copied to clipboard
open class Configurable(var blackjackConfiguration: BlackjackConfiguration)
Link copied to clipboard
class CountingSystem(val name: String, dta: String, val selection: Int) : Comparable<CountingSystem>
Link copied to clipboard
class CountingSystems(var blackjackConfiguration: BlackjackConfiguration) : Configurable
Link copied to clipboard
class Cycle
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Deck(isBlue: Boolean)
Link copied to clipboard
object DeckPile
Link copied to clipboard
Link copied to clipboard
enum Face : Enum<Face>

Card image templates must present a row of cards in the order A23456789TJQK. This provides an offset for a card image AniBreaker grid. For SVG images, the Suit and Face keys are used to construct the image name, for example Queen of Diamonds would be QD.svg.

Link copied to clipboard
abstract class Hand
Link copied to clipboard
Link copied to clipboard
class HandPlayer(val wager: Wager) : Hand
Link copied to clipboard
class Metrics

For the droid game, we're only interested in displaying the number of hands since the last mistake, to save screen real-estate.

Link copied to clipboard
open class Placeholder
Link copied to clipboard
class Player(val wager: Wager)
Link copied to clipboard
class Shoe(val numberOfDecks: Int)
Link copied to clipboard
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.

Link copied to clipboard
Link copied to clipboard
class Strategy(var blackjackConfiguration: BlackjackConfiguration) : Configurable
Link copied to clipboard
class StrategyAction(situation: Situation, casinoRules: CasinoRules)
Link copied to clipboard
class StrategyLine(val stratCat: StratCat, val source: String, config: BlackjackConfiguration)
Link copied to clipboard
enum Suit : Enum<Suit>
Link copied to clipboard
class Wager(var initialBet: Int)

Properties

Link copied to clipboard
const val CMD_AUTO: String
Link copied to clipboard
const val CMD_COUNT: String
Link copied to clipboard
const val CMD_DEAL: String
Link copied to clipboard
const val CMD_DECREASE: String
Link copied to clipboard
const val CMD_DOUBLE: String
Link copied to clipboard
const val CMD_HIT: String
Link copied to clipboard
const val CMD_INCREASE: String
Link copied to clipboard
const val CMD_RESET: String
Link copied to clipboard
const val CMD_SHUFFLE: String
Link copied to clipboard
const val CMD_SPLIT: String
Link copied to clipboard
const val CMD_STAND: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val DEFAULT_NBR_DECKS: Int = 8
Link copied to clipboard
const val DEFAULT_NBR_SEATS: Int = 1
Link copied to clipboard
const val NAME_POS: Int = 30
Link copied to clipboard
const val promptDeal: String