Documentation ¶
Index ¶
- Variables
- func CalcStatBon(ctx context.Context, mrtp float64) float64
- func CalcStatReg(ctx context.Context, mrtp float64) float64
- func CardsWin(c1, c2, c3 int) float64
- func ExpCards()
- type Game
- func (g *Game) Clone() slot.SlotGame
- func (g *Game) ScanLinedBon(screen slot.Screen, wins *slot.Wins)
- func (g *Game) ScanLinedReg(screen slot.Screen, wins *slot.Wins)
- func (g *Game) ScanScattersBon(screen slot.Screen, wins *slot.Wins)
- func (g *Game) ScanScattersReg(screen slot.Screen, wins *slot.Wins)
- func (g *Game) Scanner(wins *slot.Wins)
- func (g *Game) SetSel(sel int) error
- func (g *Game) Spin(mrtp float64)
Constants ¶
This section is empty.
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},
{2, 3, 2, 1, 2},
{2, 1, 2, 3, 2},
{1, 2, 2, 2, 1},
{3, 2, 2, 2, 3},
{1, 2, 1, 2, 1},
{3, 2, 3, 2, 3},
{2, 2, 1, 2, 2},
{2, 2, 3, 2, 2},
{1, 1, 3, 1, 1},
{3, 3, 1, 3, 3},
{1, 3, 3, 3, 1},
}
Bet lines
View Source
var Ecards float64
View Source
var Info = game.GameInfo{ Aliases: []game.GameAlias{ {Prov: "Play'n GO", Name: "Fortune Teller"}, }, GP: game.GPsel | game.GPfghas | game.GPscat | game.GPwild, SX: 5, SY: 3, SN: len(LinePay), LN: len(BetLines), BN: 1, RTP: game.MakeRtpList(ReelsMap), }
View Source
var LinePay = [12][5]float64{
{0, 0, 50, 500, 5000},
{},
{},
{0, 0, 25, 250, 1000},
{0, 0, 15, 100, 500},
{0, 0, 15, 100, 500},
{0, 0, 15, 75, 250},
{0, 0, 10, 50, 150},
{0, 0, 10, 50, 150},
{0, 0, 5, 25, 100},
{0, 0, 5, 25, 100},
{0, 0, 5, 25, 100},
}
Lined payment.
View Source
var ReelsMap = slot.ReadMap[*slot.Reels5x](reels)
View Source
var ScatFreespin = [5]int{0, 0, 15, 20, 25} // 2 cat
Scatter freespins table
View Source
var ScatPay = [5]float64{0, 2, 3, 30, 300} // 2 cat
Scatters payment.
Functions ¶
Types ¶
type Game ¶
func (*Game) ScanLinedBon ¶
Lined symbols calculation on free spins.
func (*Game) ScanLinedReg ¶
Lined symbols calculation on regular games.
func (*Game) ScanScattersBon ¶
Scatters calculation.
func (*Game) ScanScattersReg ¶
Scatters calculation.
Click to show internal directories.
Click to hide internal directories.