aladdin

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BetLines = slot.BetLinesAgt5x4[:100]

Bet lines

View Source
var Info = game.GameInfo{
	Aliases: []game.GameAlias{
		{Prov: "AGT", Name: "Aladdin"},
		{Prov: "AGT", Name: "Wild West"},
		{Prov: "AGT", Name: "Crown"},
		{Prov: "AGT", Name: "Arabian Nights 2"},
		{Prov: "AGT", Name: "Casino"},
	},
	GP: game.GPsel |
		game.GPretrig |
		game.GPscat |
		game.GPwild,
	SX:  5,
	SY:  4,
	SN:  len(LinePay),
	LN:  len(BetLines),
	BN:  0,
	RTP: game.MakeRtpList(ReelsMap),
}
View Source
var LinePay = [12][5]float64{
	{0, 0, 100, 225, 1000},
	{},
	{0, 0, 50, 200, 600},
	{0, 0, 50, 200, 600},
	{0, 0, 25, 150, 400},
	{0, 0, 25, 150, 350},
	{0, 0, 10, 100, 200},
	{0, 0, 10, 100, 200},
	{0, 0, 5, 50, 125},
	{0, 0, 5, 50, 125},
	{0, 0, 5, 25, 100},
	{0, 0, 5, 25, 100},
}

Lined payment.

View Source
var ReelsMap = slot.ReadMap[*slot.Reels5x](reels)

Functions

func CalcStat

func CalcStat(ctx context.Context, mrtp float64) float64

Types

type Game

type Game struct {
	slot.Slotx[slot.Screen5x4] `yaml:",inline"`
}

func NewGame

func NewGame() *Game

func (*Game) Clone added in v0.8.0

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

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)

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