Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrBetEmpty = errors.New("bet is empty") ErrKenoNotEnough = errors.New("no pays with this selected numbers") ErrKenoTooMany = errors.New("too many numbers selected, not more than 10 expected") ErrKenoOutRange = errors.New("some of given number is out of range 1..80") )
View Source
var C_80_20 = Combin(80, 20)
View Source
var MakeBitNum = util.MakeBitNum128
Functions ¶
Types ¶
type Keno80 ¶
type KenoGame ¶
type KenoGame interface { Scanner(*Wins) // scan given screen and append result to wins, constat function Spin(float64) // fill the screen with random hits on reels closest to given RTP, constat function GetBet() float64 // returns current bet, constat function SetBet(float64) error // set bet to given value GetSel() Bitset // returns current selected numbers, constat function SetSel(Bitset) error // set current selected numbers }
KenoGame is common keno interface. Any keno game should implement this interface.
Click to show internal directories.
Click to hide internal directories.