greatblue

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LinePay = [13][5]float64{
	{0, 10, 250, 2500, 10000},
	{0, 2, 25, 125, 750},
	{0, 2, 25, 125, 750},
	{0, 0, 20, 100, 400},
	{0, 0, 15, 75, 250},
	{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},
	{0, 2, 5, 25, 100},
	{0, 0, 0, 0, 0},
}

Lined payment.

View Source
var Reels100 = slot.Reels5x{
	{5, 9, 1, 8, 4, 12, 3, 8, 6, 11, 9, 2, 7, 8, 2, 10, 11, 4, 12, 8, 4, 13, 7, 11, 6, 9, 12, 5, 10, 7, 6, 10, 9, 5, 12, 6, 11, 5, 10, 3, 7},
	{7, 5, 8, 6, 13, 10, 7, 6, 11, 2, 9, 11, 5, 12, 8, 5, 10, 4, 12, 9, 11, 2, 7, 5, 12, 6, 10, 4, 11, 3, 8, 6, 9, 4, 8, 9, 1, 12, 7, 3, 10},
	{6, 9, 12, 1, 8, 6, 10, 7, 4, 9, 6, 10, 8, 5, 10, 3, 7, 11, 6, 7, 4, 11, 5, 9, 8, 2, 12, 5, 8, 4, 10, 5, 11, 12, 2, 9, 13, 11, 12, 3, 7},
	{12, 8, 11, 4, 10, 3, 7, 5, 8, 6, 10, 7, 4, 11, 7, 4, 8, 9, 6, 10, 9, 5, 10, 2, 12, 6, 9, 12, 8, 5, 11, 6, 7, 5, 9, 3, 11, 1, 12, 2, 13},
	{6, 7, 3, 10, 6, 8, 5, 11, 9, 2, 10, 7, 6, 8, 10, 2, 9, 3, 8, 5, 9, 12, 6, 7, 5, 13, 4, 12, 5, 11, 12, 4, 8, 7, 11, 4, 9, 1, 12, 11, 10},
}

reels lengths [41, 41, 41, 41, 41], total reshuffles 115856201 symbols: 48.18(lined) + 10.578(scatter) = 58.758424% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 405513, q = 0.43682, sq = 1.6078 free games frequency: 1/285.7 RTP = rtpsym + q*sq*rtpsym = 58.758 + 41.266 = 100.024241%

View Source
var Reels108 = slot.Reels5x{
	{2, 12, 6, 8, 5, 12, 4, 11, 12, 3, 9, 4, 13, 2, 8, 9, 6, 10, 2, 7, 12, 5, 10, 4, 8, 3, 11, 6, 9, 10, 5, 11, 9, 5, 11, 6, 7, 3, 10, 1, 7},
	{2, 10, 6, 9, 5, 12, 4, 11, 6, 10, 8, 1, 11, 5, 9, 2, 12, 4, 10, 7, 4, 9, 6, 12, 3, 8, 6, 10, 11, 5, 8, 3, 9, 5, 12, 2, 13, 7, 11, 3, 7},
	{1, 12, 2, 10, 4, 11, 6, 12, 5, 11, 3, 12, 10, 5, 9, 4, 7, 3, 12, 6, 10, 8, 9, 4, 10, 2, 7, 6, 13, 11, 3, 9, 6, 7, 5, 11, 2, 8, 9, 5, 8},
	{5, 9, 2, 12, 8, 1, 11, 3, 10, 4, 7, 12, 11, 4, 8, 2, 13, 10, 5, 9, 6, 10, 5, 9, 4, 12, 2, 9, 6, 10, 3, 7, 6, 11, 5, 8, 11, 6, 7, 3, 12},
	{3, 8, 6, 12, 2, 11, 4, 12, 10, 9, 4, 10, 3, 11, 9, 1, 7, 5, 8, 4, 12, 2, 10, 9, 6, 10, 5, 12, 6, 11, 5, 13, 6, 7, 5, 11, 3, 9, 2, 8, 7},
}

reels lengths [41, 41, 41, 41, 41], total reshuffles 115856201 symbols: 52.855(lined) + 10.578(scatter) = 63.433344% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 405513, q = 0.43682, sq = 1.6078 free games frequency: 1/285.7 RTP = rtpsym + q*sq*rtpsym = 63.433 + 44.549 = 107.982338%

View Source
var Reels87 = slot.Reels5x{
	{10, 4, 8, 13, 6, 11, 10, 2, 11, 4, 9, 6, 10, 5, 12, 10, 6, 9, 1, 7, 3, 12, 6, 7, 3, 12, 8, 5, 7, 11, 8, 5, 9, 2, 7, 4, 12, 8, 3, 12, 2, 11, 9, 5},
	{12, 2, 11, 5, 7, 2, 10, 3, 7, 2, 9, 1, 11, 5, 10, 8, 6, 11, 10, 3, 8, 5, 12, 4, 7, 6, 8, 3, 9, 6, 12, 9, 4, 13, 12, 5, 11, 10, 6, 12, 4, 9, 7, 8},
	{7, 6, 12, 11, 5, 10, 3, 12, 6, 8, 9, 5, 8, 9, 11, 6, 12, 8, 13, 4, 7, 1, 9, 10, 2, 12, 5, 7, 2, 12, 3, 10, 5, 9, 7, 4, 11, 3, 10, 2, 11, 6, 8, 4},
	{5, 9, 3, 8, 2, 13, 4, 11, 3, 7, 12, 6, 9, 3, 8, 5, 7, 4, 12, 7, 6, 10, 5, 12, 2, 8, 4, 7, 11, 12, 9, 1, 10, 5, 11, 6, 8, 2, 10, 6, 9, 12, 10, 11},
	{6, 11, 5, 13, 10, 6, 9, 8, 1, 12, 9, 4, 12, 3, 10, 6, 8, 9, 5, 8, 4, 7, 10, 2, 12, 5, 11, 6, 7, 3, 10, 2, 12, 3, 8, 4, 11, 7, 5, 11, 2, 7, 9, 12},
}

reels lengths [44, 44, 44, 44, 44], total reshuffles 164916224 symbols: 48.269(lined) + 9.1736(scatter) = 57.442790% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 470718, q = 0.35621, sq = 1.4456 free games frequency: 1/350.35 RTP = rtpsym + q*sq*rtpsym = 57.443 + 29.581 = 87.023352%

View Source
var Reels89 = slot.Reels5x{
	{9, 7, 4, 9, 3, 8, 5, 9, 10, 6, 7, 4, 12, 2, 8, 11, 2, 7, 5, 11, 6, 10, 2, 12, 4, 7, 3, 11, 5, 8, 1, 12, 10, 3, 9, 6, 10, 4, 8, 5, 13, 12, 11, 6},
	{8, 10, 7, 11, 4, 1, 5, 12, 9, 8, 6, 11, 4, 9, 3, 13, 4, 4, 5, 6, 2, 9, 3, 8, 7, 5, 10, 6, 8, 10, 2, 12, 5, 7, 12, 2, 11, 7, 6, 12, 10, 11, 9, 3},
	{6, 11, 5, 9, 3, 12, 10, 4, 12, 1, 11, 3, 8, 6, 10, 4, 9, 8, 4, 12, 6, 8, 5, 7, 2, 10, 12, 9, 5, 8, 2, 7, 10, 2, 7, 4, 9, 6, 11, 5, 13, 11, 3, 7},
	{13, 4, 10, 1, 8, 4, 11, 2, 7, 8, 4, 9, 12, 5, 9, 6, 10, 5, 7, 8, 6, 11, 4, 9, 11, 3, 12, 6, 7, 3, 9, 5, 10, 8, 5, 12, 11, 6, 10, 2, 7, 3, 12, 2},
	{3, 8, 6, 7, 4, 10, 3, 11, 6, 7, 2, 10, 5, 12, 4, 10, 2, 9, 1, 7, 8, 5, 9, 3, 12, 6, 11, 5, 9, 8, 13, 4, 11, 12, 6, 8, 2, 9, 10, 5, 12, 4, 11, 7},
}

reels lengths [44, 44, 44, 44, 44], total reshuffles 164916224 symbols: 49.461(lined) + 9.1736(scatter) = 58.634659% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 470718, q = 0.35621, sq = 1.4456 free games frequency: 1/350.35 RTP = rtpsym + q*sq*rtpsym = 58.635 + 30.194 = 88.828983%

View Source
var Reels92 = slot.Reels5x{
	{5, 9, 6, 12, 3, 10, 5, 8, 6, 12, 2, 7, 3, 8, 4, 9, 8, 1, 11, 4, 7, 5, 12, 6, 11, 9, 2, 7, 8, 10, 3, 13, 10, 4, 11, 9, 5, 11, 12, 2, 7, 6, 10},
	{9, 2, 7, 5, 10, 6, 9, 12, 5, 8, 11, 6, 10, 3, 11, 1, 7, 5, 9, 2, 7, 4, 12, 7, 8, 4, 9, 5, 10, 12, 2, 8, 6, 11, 12, 3, 13, 6, 10, 4, 11, 8, 3},
	{10, 5, 13, 4, 11, 3, 12, 4, 10, 8, 2, 7, 3, 9, 6, 12, 9, 5, 8, 7, 6, 11, 2, 8, 4, 12, 5, 11, 6, 7, 10, 1, 9, 6, 7, 2, 8, 3, 10, 5, 12, 11, 9},
	{2, 7, 6, 9, 3, 8, 2, 13, 7, 2, 11, 6, 9, 5, 7, 1, 12, 9, 5, 10, 8, 6, 10, 8, 3, 11, 4, 10, 12, 3, 8, 5, 9, 4, 11, 6, 7, 12, 4, 11, 12, 5, 10},
	{3, 11, 6, 10, 9, 4, 10, 7, 5, 11, 4, 10, 12, 6, 13, 5, 11, 2, 7, 3, 8, 1, 12, 2, 8, 5, 9, 6, 10, 11, 4, 9, 2, 12, 5, 7, 3, 8, 6, 9, 7, 8, 12},
}

reels lengths [43, 43, 43, 43, 43], total reshuffles 147008443 symbols: 49.178(lined) + 9.6086(scatter) = 58.786938% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 448443, q = 0.3807, sq = 1.4913 free games frequency: 1/327.82 RTP = rtpsym + q*sq*rtpsym = 58.787 + 33.376 = 92.162519%

View Source
var Reels94 = slot.Reels5x{
	{4, 12, 5, 9, 4, 7, 6, 13, 5, 8, 1, 12, 10, 6, 8, 9, 12, 10, 3, 12, 11, 3, 12, 7, 8, 2, 11, 6, 7, 8, 5, 9, 11, 2, 10, 4, 7, 6, 10, 11, 5, 9},
	{5, 12, 9, 4, 8, 2, 11, 6, 9, 1, 7, 6, 10, 4, 11, 7, 12, 11, 6, 12, 8, 13, 6, 7, 10, 5, 9, 3, 10, 5, 12, 10, 4, 8, 2, 12, 3, 9, 5, 8, 11, 7},
	{2, 10, 3, 12, 5, 11, 1, 7, 2, 11, 12, 5, 7, 6, 10, 4, 9, 13, 6, 12, 9, 6, 8, 10, 4, 11, 6, 9, 3, 8, 12, 5, 8, 4, 11, 7, 10, 5, 8, 9, 12, 7},
	{12, 5, 7, 9, 12, 1, 11, 7, 6, 11, 5, 12, 6, 11, 2, 12, 10, 5, 12, 3, 9, 4, 10, 6, 8, 2, 7, 4, 8, 9, 4, 10, 3, 8, 11, 5, 10, 13, 8, 7, 9, 6},
	{4, 12, 6, 9, 4, 13, 7, 11, 6, 10, 8, 12, 5, 10, 12, 1, 11, 5, 10, 9, 5, 11, 8, 4, 7, 6, 11, 2, 8, 6, 7, 3, 8, 2, 12, 3, 10, 5, 9, 12, 7, 9},
}

reels lengths [42, 42, 42, 42, 42], total reshuffles 130691232 symbols: 47.535(lined) + 10.076(scatter) = 57.610673% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 426708, q = 0.40747, sq = 1.5447 free games frequency: 1/306.28 RTP = rtpsym + q*sq*rtpsym = 57.611 + 36.261 = 93.871960%

View Source
var Reels96 = slot.Reels5x{
	{1, 9, 4, 10, 3, 8, 5, 9, 6, 11, 4, 9, 12, 5, 7, 12, 4, 10, 11, 6, 12, 7, 5, 8, 3, 11, 8, 7, 4, 11, 6, 13, 2, 10, 5, 7, 2, 8, 6, 12, 9, 10},
	{4, 9, 11, 4, 8, 3, 11, 1, 7, 5, 8, 6, 11, 8, 7, 5, 9, 2, 12, 6, 9, 7, 10, 6, 8, 13, 2, 9, 6, 12, 4, 10, 11, 5, 12, 4, 7, 10, 3, 12, 5, 10},
	{5, 8, 4, 12, 2, 9, 7, 4, 8, 1, 11, 6, 10, 9, 7, 5, 10, 6, 9, 3, 8, 12, 4, 11, 6, 9, 2, 12, 3, 10, 5, 13, 4, 7, 8, 5, 11, 12, 6, 10, 7, 11},
	{6, 10, 4, 8, 3, 10, 2, 8, 5, 9, 6, 11, 8, 4, 12, 6, 7, 12, 3, 10, 5, 8, 1, 7, 2, 11, 6, 9, 7, 4, 10, 12, 5, 9, 12, 7, 5, 11, 4, 13, 9, 11},
	{9, 7, 1, 8, 4, 9, 2, 11, 7, 6, 12, 4, 10, 8, 6, 13, 12, 5, 9, 3, 8, 10, 6, 8, 9, 4, 11, 5, 7, 3, 12, 4, 10, 6, 11, 2, 10, 5, 12, 11, 7, 5},
}

reels lengths [42, 42, 42, 42, 42], total reshuffles 130691232 symbols: 49.047(lined) + 10.076(scatter) = 59.122719% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 426708, q = 0.40747, sq = 1.5447 free games frequency: 1/306.28 RTP = rtpsym + q*sq*rtpsym = 59.123 + 37.213 = 96.335718%

View Source
var Reels97 = slot.Reels5x{
	{7, 5, 10, 8, 4, 9, 2, 7, 12, 9, 3, 11, 6, 9, 10, 2, 8, 1, 12, 5, 7, 4, 11, 5, 12, 6, 13, 7, 6, 11, 10, 12, 9, 4, 8, 3, 11, 2, 10, 12, 8, 3},
	{8, 2, 10, 11, 6, 10, 12, 8, 9, 7, 5, 12, 4, 11, 9, 3, 7, 6, 12, 4, 8, 3, 10, 7, 1, 11, 3, 12, 5, 9, 2, 10, 8, 4, 9, 11, 6, 13, 2, 7, 12, 5},
	{5, 13, 4, 12, 6, 7, 3, 9, 5, 11, 1, 10, 8, 9, 10, 2, 7, 12, 2, 11, 12, 2, 9, 4, 11, 7, 4, 8, 11, 3, 9, 12, 6, 10, 3, 12, 6, 8, 5, 7, 10, 8},
	{9, 5, 11, 9, 10, 11, 4, 9, 2, 12, 6, 7, 5, 8, 12, 6, 7, 2, 10, 12, 11, 10, 3, 12, 5, 11, 2, 8, 3, 7, 13, 10, 4, 7, 3, 8, 4, 12, 6, 9, 1, 8},
	{3, 12, 11, 6, 12, 5, 11, 3, 12, 6, 8, 5, 13, 2, 7, 4, 9, 6, 10, 5, 9, 10, 11, 4, 12, 2, 7, 9, 1, 8, 10, 4, 7, 10, 2, 8, 12, 3, 11, 7, 8, 9},
}

reels lengths [42, 42, 42, 42, 42], total reshuffles 130691232 symbols: 49.605(lined) + 10.076(scatter) = 59.680835% average plain freespins at 1st iteration: 124.8 average multiplier at free games: 7.2 free games 426708, q = 0.40747, sq = 1.5447 free games frequency: 1/306.28 RTP = rtpsym + q*sq*rtpsym = 59.681 + 37.564 = 97.245122%

View Source
var ReelsMap = map[float64]*slot.Reels5x{
	87.023352:  &Reels87,
	88.828983:  &Reels89,
	92.162519:  &Reels92,
	93.871960:  &Reels94,
	96.335718:  &Reels96,
	97.245122:  &Reels97,
	100.024241: &Reels100,
	107.982338: &Reels108,
}

Map with available reels.

View Source
var ScatPay = [5]float64{0, 2, 5, 20, 500} // 13 scatter

Scatters payment.

Functions

func CalcStat

func CalcStat(ctx context.Context, rn string) float64

func FirstSreespins

func FirstSreespins() (fsavr1 float64, multavr float64)

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 NewGame

func NewGame() *Game

func (*Game) Apply

func (g *Game) Apply(screen slot.Screen, wins slot.Wins)

func (*Game) FreeSpins

func (g *Game) FreeSpins() int

func (*Game) ScanLined

func (g *Game) ScanLined(screen slot.Screen, wins *slot.Wins)

Lined symbols calculation.

func (*Game) ScanScatters

func (g *Game) ScanScatters(screen slot.Screen, wins *slot.Wins)

Scatters calculation.

func (*Game) Scanner

func (g *Game) Scanner(screen slot.Screen, wins *slot.Wins)

func (*Game) SetSel

func (g *Game) SetSel(sel slot.Bitset) error

func (*Game) Spawn

func (g *Game) Spawn(screen slot.Screen, wins slot.Wins)

func (*Game) Spin

func (g *Game) Spin(screen slot.Screen, mrtp float64)

type Seashells

type Seashells struct {
	Sel1 string  `json:"sel1" yaml:"sel1" xml:"sel1"`
	Sel2 string  `json:"sel2" yaml:"sel2" xml:"sel2"`
	Mult float64 `json:"mult" yaml:"mult" xml:"mult"`
	Free int     `json:"free" yaml:"free" xml:"free"`
}

func (*Seashells) SetupShell

func (s *Seashells) SetupShell(shell string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL