bingo

package
v0.0.0-...-8995d9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

type Board struct {
	NumberGrid  [][]uint
	Marked      [][]bool
	WinsInRound uint
	Score       uint
}

func (*Board) CheckWin

func (b *Board) CheckWin() bool

func (*Board) String

func (b *Board) String() string

func (*Board) TallyScore

func (b *Board) TallyScore(ball uint)

func (*Board) Turn

func (b *Board) Turn(ball uint) bool

type Game

type Game struct {
	Balls  []uint
	Boards []Board
}

func ParseGame

func ParseGame(in string) Game

func (*Game) Play

func (g *Game) Play() Board

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL