Documentation ¶
Index ¶
Constants ¶
View Source
const ( Efs = 17 // average free spins for ScatRand set Pfs = 0.3 // probability of "got away" at free spins )
Variables ¶
View Source
var BetLines = []slot.Linex{
{2, 2, 2, 2, 2},
{1, 1, 1, 1, 1},
{3, 3, 3, 3, 3},
{1, 2, 3, 2, 1},
{3, 2, 1, 2, 3},
{2, 1, 1, 1, 2},
{2, 3, 3, 3, 2},
{1, 1, 2, 3, 3},
{3, 3, 2, 1, 1},
}
Bet lines
View Source
var Info = game.GameInfo{ Aliases: []game.GameAlias{ {Prov: "Play'n GO", Name: "Cops'n'Robbers"}, }, GP: game.GPsel | game.GPfghas | game.GPfgreel | game.GPfgmult | game.GPscat | game.GPwild | game.GPwmult, SX: 5, SY: 3, SN: len(LinePay), LN: len(BetLines), BN: 0, RTP: game.MakeRtpList(ReelsMap), }
View Source
var LinePay = [11][5]float64{
{0, 3, 30, 300, 3000},
{},
{0, 2, 25, 150, 750},
{0, 2, 20, 100, 500},
{0, 2, 15, 75, 500},
{0, 0, 15, 75, 250},
{0, 0, 10, 75, 250},
{0, 0, 5, 50, 150},
{0, 0, 5, 50, 125},
{0, 0, 5, 25, 100},
{0, 0, 5, 25, 100},
}
Lined payment.
View Source
var ReelsBon = slot.ReadObj[*slot.Reels5x](rbon)
View Source
var ReelsMap = slot.ReadMap[*slot.Reels5x](reels)
View Source
var ScatPay = [5]float64{0, 2, 3, 25, 250} // 2 scatter
Scatters payment.
View Source
var ScatRand = []int{10, 15, 15, 20, 25}
Functions ¶
func CalcStatBon ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.