fruitqueen

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BetLines = []slot.Linex{
	{1, 1, 1, 1, 1},
	{2, 2, 2, 2, 2},
	{3, 3, 3, 3, 3},
	{4, 4, 4, 4, 4},
	{5, 5, 5, 5, 5},
	{6, 6, 6, 6, 6},
	{1, 2, 3, 4, 5},
	{2, 3, 4, 5, 6},
	{5, 4, 3, 2, 1},
	{6, 5, 4, 3, 2},
	{1, 2, 3, 2, 1},
	{2, 3, 4, 3, 2},
	{3, 4, 5, 4, 3},
	{4, 5, 6, 5, 4},
	{3, 2, 1, 2, 3},
	{4, 3, 2, 3, 4},
	{5, 4, 3, 4, 5},
	{6, 5, 4, 5, 6},
}

Bet lines

View Source
var Info = game.AlgInfo{
	Aliases: []game.GameAlias{
		{Prov: "AGT", Name: "Fruit Queen", LNum: 18},
	},
	AlgDescr: game.AlgDescr{
		GT: game.GTslot,
		GP: game.GPlpay |
			game.GPlsel |
			game.GPfgno |
			game.GPscat |
			game.GPwild,
		SX: 5,
		SY: 6,
		SN: len(LinePay),
		LN: len(BetLines),
		BN: 0,
	},
	Update: func(ai *game.AlgInfo) { ai.RTP = game.MakeRtpList(ReelsMap) },
}
View Source
var LinePay = [8][5]float64{
	{},
	{0, 0, 40, 400, 1200},
	{0, 0, 20, 100, 400},
	{0, 0, 20, 40, 200},
	{0, 0, 20, 40, 200},
	{0, 0, 10, 24, 120},
	{0, 0, 10, 20, 100},
	{0, 0, 8, 16, 80},
}

Lined payment.

View Source
var ScatPay = [5]float64{0, 0, 5, 25, 500} // 1 scatter

Scatters payment.

Functions

func CalcStat

func CalcStat(ctx context.Context, sp *slot.ScanPar) float64

Types

type Game

type Game struct {
	slot.Gridx `yaml:",inline"`
	slot.Slotx `yaml:",inline"`
}

func NewGame

func NewGame(sel int) *Game

func (*Game) Clone

func (g *Game) Clone() slot.SlotGeneric

func (*Game) ScanLined

func (g *Game) ScanLined(wins *slot.Wins)

Lined symbols calculation.

func (*Game) ScanScatters

func (g *Game) ScanScatters(wins *slot.Wins)

Scatters calculation.

func (*Game) Scanner

func (g *Game) Scanner(wins *slot.Wins) error

func (*Game) SetSel

func (g *Game) SetSel(sel int) error

func (*Game) Spin

func (g *Game) Spin(mrtp float64)

Jump to

Keyboard shortcuts

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