Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct {
AP *ansipixels.AnsiPixels
Playing bool
State GameState
Balance int
Bet int
BorderColor string
BorderBG string
WideBorder bool
// contains filtered or unexported fields
}
Game represents the blackjack game state.
func (*Game) LeftMostCardPos ¶
func (*Game) RunGame ¶
func (g *Game) RunGame(ap *ansipixels.AnsiPixels) int
Click to show internal directories.
Click to hide internal directories.