Documentation
¶
Index ¶
- Variables
- func CalcStat(ctx context.Context, rn string) float64
- type Game
- func (g *Game) Apply(screen slot.Screen, wins slot.Wins)
- func (g *Game) FreeSpins() int
- func (g *Game) ScanLined(screen slot.Screen, wins *slot.Wins)
- func (g *Game) ScanScatters(screen slot.Screen, wins *slot.Wins)
- func (g *Game) Scanner(screen slot.Screen, wins *slot.Wins)
- func (g *Game) SetSel(sel slot.Bitset) error
- func (g *Game) Spin(screen slot.Screen, mrtp float64)
Constants ¶
This section is empty.
Variables ¶
View Source
var Jackpot = [13][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},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
{0, 0, 0, 0, 0},
}
Jackpot win combinations.
View Source
var LinePay = [13][5]float64{
{0, 10, 250, 2500, 10000},
{0, 0, 50, 500, 2000},
{0, 0, 50, 500, 2000},
{0, 0, 30, 200, 1000},
{0, 0, 20, 100, 500},
{0, 0, 20, 100, 500},
{0, 0, 10, 50, 250},
{0, 0, 10, 50, 250},
{0, 0, 5, 20, 100},
{0, 0, 5, 20, 100},
{0, 0, 5, 20, 100},
{0, 0, 5, 20, 100},
{0, 0, 0, 0, 0},
}
Lined payment.
View Source
var MultChoose = []float64{1, 1, 1, 2, 2, 2, 3, 3, 5, 10} // E = 3.0
View Source
var ReelsMap = map[float64]*slot.Reels5x{ 96.485616: &ReelsReg96, }
Map with available reels.
View Source
var ReelsReg96 = slot.Reels5x{
{11, 10, 4, 8, 6, 7, 3, 8, 5, 10, 2, 12, 11, 4, 9, 13, 6, 11, 2, 7, 6, 9, 5, 8, 3, 12, 4, 7, 2, 10, 1, 9, 5, 12, 3},
{5, 9, 4, 11, 1, 12, 6, 10, 5, 8, 2, 12, 7, 6, 9, 2, 8, 4, 11, 3, 13, 5, 7, 6, 9, 12, 3, 7, 4, 11, 3, 10, 8, 2, 10},
{9, 5, 7, 9, 4, 12, 8, 7, 3, 10, 2, 11, 5, 9, 2, 11, 4, 8, 6, 10, 2, 12, 5, 7, 4, 13, 6, 10, 1, 11, 3, 12, 6, 8, 3},
{12, 9, 2, 7, 5, 10, 4, 13, 6, 12, 4, 9, 7, 11, 4, 12, 3, 7, 2, 11, 1, 8, 3, 10, 5, 8, 6, 9, 5, 10, 6, 8, 3, 11, 2},
{11, 6, 12, 4, 10, 2, 13, 5, 8, 2, 12, 5, 11, 4, 7, 12, 3, 8, 6, 9, 5, 7, 3, 10, 9, 4, 8, 7, 3, 10, 2, 11, 6, 9, 1},
}
reels lengths [35, 35, 35, 35, 35], total reshuffles 52521875 symbols: 65.165(lined) + 14.402(scatter) = 79.567228% free spins 3476196, q = 0.066186, sq = 1/(1-q) = 1.070877 free games frequency: 1/181.31 RTP = 79.567(sym) + 0.066186*85.207(fg)*3 = 96.485616%
View Source
var ScatFreespin = [5]int{0, 0, 12, 12, 12} // 13 cadillac
Scatter freespins table
View Source
var ScatPay = [5]float64{0, 2, 5, 20, 100} // 13 cadillac
Scatters payment.
Functions ¶
Types ¶
type Game ¶
type Game struct { slot.Slot5x3 `yaml:",inline"` // free spin number FS int `json:"fs,omitempty" yaml:"fs,omitempty" xml:"fs,omitempty"` // multiplier on freespins M float64 `json:"m,omitempty" yaml:"m,omitempty" xml:"m,omitempty"` }
func (*Game) ScanScatters ¶
Scatters calculation.
Click to show internal directories.
Click to hide internal directories.