royaldynasty

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Bet lines

View Source
var Freegames = [...]int{25, 30, 35, 40, 45}
View Source
var Info = game.GameInfo{
	Aliases: []game.GameAlias{
		{Prov: "Novomatic", Name: "Royal Dynasty"},
	},
	GP: game.GPsel |
		game.GPretrig |
		game.GPfgreel |
		game.GPscat |
		game.GPwild |
		game.GPwmult,
	SX:  5,
	SY:  3,
	SN:  len(LinePay),
	LN:  len(BetLines),
	BN:  0,
	RTP: game.MakeRtpList(ReelsMap),
}
View Source
var LinePay = [14][5]float64{
	{0, 10, 200, 1200, 5000},
	{0, 0, 25, 100, 500},
	{0, 0, 20, 80, 300},
	{0, 0, 20, 80, 300},
	{0, 0, 15, 60, 200},
	{0, 0, 15, 60, 200},
	{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, 0, 5, 25, 100},
	{},
	{},
}

Lined payment.

View Source
var ReelsBon = slot.ReadObj[*slot.Reels5x](rbon)
View Source
var ReelsMap = slot.ReadMap[*slot.Reels5x](reels)
View Source
var ScatPay = [5]float64{0, 0, 5, 25, 500} // scatter

Scatters payment.

Functions

func CalcStatBon

func CalcStatBon(ctx context.Context) float64

func CalcStatReg

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

Types

type Game

type Game struct {
	slot.Slotx[slot.Screen5x3] `yaml:",inline"`
	// Scatter on freegames that triggers freegames
	TS slot.Sym `json:"ts" yaml:"ts" xml:"ts"`
}

func NewGame

func NewGame() *Game

func (*Game) Apply

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

func (*Game) Clone

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

func (*Game) Prepare

func (g *Game) Prepare()

func (*Game) ScanLinedBon

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

Lined symbols calculation on bonus games.

func (*Game) ScanLinedReg

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

Lined symbols calculation on regular games.

func (*Game) ScanScattersBon

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

Scatters calculation on bonus games.

func (*Game) ScanScattersReg

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

Scatters calculation on regular games.

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