Documentation ¶
Index ¶
- Variables
- func CalcStatBon(ctx context.Context) float64
- func CalcStatReg(ctx context.Context, rn string) float64
- type Game
- func (g *Game) Apply(screen game.Screen, sw *game.WinScan)
- func (g *Game) FreeSpins() int
- func (g *Game) ScanLined(screen game.Screen, ws *game.WinScan)
- func (g *Game) ScanScatters(screen game.Screen, ws *game.WinScan)
- func (g *Game) Scanner(screen game.Screen, ws *game.WinScan)
- func (g *Game) SetLines(sbl game.SBL) error
- func (g *Game) SetReels(rd string) error
- func (g *Game) Spin(screen game.Screen)
Constants ¶
This section is empty.
Variables ¶
var Jackpot = [10][5]int{
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
Jackpot win combinations.
var LinePay = [10][5]float64{
{0, 10, 100, 1000, 5000},
{0, 5, 50, 200, 1000},
{0, 5, 25, 100, 500},
{0, 5, 15, 75, 250},
{0, 0, 10, 40, 150},
{0, 0, 10, 40, 150},
{0, 0, 10, 40, 150},
{0, 0, 5, 20, 100},
{0, 0, 5, 20, 100},
{0, 0, 0, 0, 0},
}
Lined payment.
var ReelsBon = game.Reels5x{
{5, 1, 9, 8, 2, 10, 6, 5, 10, 8, 3, 4, 8, 5, 10, 7, 8, 5, 9, 8, 5, 3, 6, 5, 8},
{7, 9, 3, 7, 4, 6, 9, 7, 8, 9, 7, 8, 9, 7, 8, 5, 2, 8, 5, 4, 9, 6, 7, 9, 1},
{6, 8, 4, 7, 5, 9, 6, 2, 9, 5, 6, 8, 10, 6, 3, 9, 6, 8, 7, 5, 10, 6, 8, 1},
{6, 9, 1, 6, 7, 9, 4, 2, 8, 9, 3, 8, 7, 3, 4, 9, 5, 4, 6, 3, 5, 8, 3, 9, 1},
{7, 4, 9, 6, 10, 9, 6, 4, 9, 8, 7, 1, 8, 9, 3, 7, 2, 9, 3, 8, 10, 4, 5, 2},
}
reels lengths [25, 25, 24, 25, 24], total reshuffles 9000000 symbols: 194.86(lined) + 0(scatter) = 194.856667% free spins 2025000, q = 0.225, sq = 1/(1-q) = 1.290323 RTP = sq*rtp(sym) = 1.2903*194.86 = 251.427957%
var ReelsMap = map[string]*game.Reels5x{ "85": &ReelsReg85, "88": &ReelsReg88, "90": &ReelsReg90, "92": &ReelsReg92, "94": &ReelsReg94, "95": &ReelsReg95, "96": &ReelsReg96, "97": &ReelsReg97, "143": &ReelsReg143, "bon": &ReelsBon, }
Map with available reels.
var ReelsReg143 = game.Reels5x{
{1, 5, 7, 10, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 10, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 1, 7, 9, 8, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 8, 3, 5, 10, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 68.866(lined) + 0(scatter) = 68.865562% free spins 7620480, q = 0.29663, sq = 1/(1-q) = 1.421729 RTP = 68.866(sym) + 0.29663*251.43(fg) = 143.446853%
var ReelsReg85 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 7, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 6, 7, 9, 4, 6, 8, 9, 6, 8, 7, 3, 6, 9, 5, 7, 6, 8, 9, 2, 9, 7, 6, 5, 8},
{10, 6, 5, 9, 6, 10, 5, 6, 4, 1, 8, 6, 1, 8, 9, 3, 7, 2, 4, 3, 9, 4, 2, 9, 3, 4, 5, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 60.236(lined) + 0(scatter) = 60.236366% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 60.236(sym) + 0.098877*251.43(fg) = 85.096797%
var ReelsReg88 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 6, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 7, 8, 7, 5, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 6, 7, 9, 4, 6, 8, 1, 6, 8, 7, 3, 6, 9, 5, 7, 6, 8, 9, 2, 9, 7, 6, 5, 8},
{10, 6, 5, 9, 6, 10, 5, 6, 4, 1, 8, 6, 1, 8, 9, 3, 7, 2, 4, 3, 9, 4, 2, 9, 3, 4, 5, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 63.094(lined) + 0(scatter) = 63.094159% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 63.094(sym) + 0.098877*251.43(fg) = 87.954589%
var ReelsReg90 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 6, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 7, 8, 7, 5, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 5, 6, 7, 9, 4, 6, 8, 1, 6, 8, 7, 3, 6, 1, 5, 7, 6, 8, 9, 2, 9, 7, 6, 5, 8},
{10, 6, 5, 9, 6, 10, 5, 6, 4, 9, 8, 6, 1, 8, 9, 3, 7, 2, 4, 3, 9, 4, 2, 9, 3, 4, 8, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 65.101(lined) + 0(scatter) = 65.101001% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 65.101(sym) + 0.098877*251.43(fg) = 89.961431%
var ReelsReg92 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 6, 7, 9, 4, 6, 8, 9, 5, 8, 7, 3, 6, 9, 5, 7, 1, 8, 9, 2, 9, 7, 6, 5, 8},
{10, 6, 1, 9, 6, 10, 5, 6, 4, 1, 8, 6, 1, 8, 9, 3, 7, 2, 6, 3, 9, 4, 2, 9, 3, 4, 5, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 67.18(lined) + 0(scatter) = 67.180478% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 67.18(sym) + 0.098877*251.43(fg) = 92.040908%
var ReelsReg94 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 1, 7, 9, 4, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 3, 8, 5, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 69.142(lined) + 0(scatter) = 69.142322% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 69.142(sym) + 0.098877*251.43(fg) = 94.002752%
var ReelsReg95 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 4, 8, 1, 7, 9, 4, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 5, 7, 4, 5, 8},
{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 3, 7, 5, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 70.162(lined) + 0(scatter) = 70.162364% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 70.162(sym) + 0.098877*251.43(fg) = 95.022795%
var ReelsReg96 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 1, 7, 9, 4, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 3, 8, 5, 3, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 71.226(lined) + 0(scatter) = 71.225614% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 71.226(sym) + 0.098877*251.43(fg) = 96.086044%
var ReelsReg97 = game.Reels5x{
{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
{1, 6, 9, 8, 1, 7, 9, 8, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 8, 3, 5, 8, 9, 4, 7, 5},
}
reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 72.169(lined) + 0(scatter) = 72.168623% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 72.169(sym) + 0.098877*251.43(fg) = 97.029053%