dolphinspearl

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.BetLinesNvm10

Bet lines

View Source
var Info = game.GameInfo{
	Aliases: []game.GameAlias{
		{Prov: "Novomatic", Name: "Dolphins Pearl"},
		{Prov: "Novomatic", Name: "Dolphins Pearl Deluxe"},
		{Prov: "Aristocrat", Name: "Dolphin Treasure"},
		{Prov: "Novomatic", Name: "Attila"},
		{Prov: "Novomatic", Name: "Banana Splash"},
		{Prov: "Novomatic", Name: "Dynasty Of Ming"},
		{Prov: "Novomatic", Name: "Gryphons Gold"},
		{Prov: "Novomatic", Name: "Gryphons Gold Deluxe"},
		{Prov: "Novomatic", Name: "Joker Dolphin"},
		{Prov: "Novomatic", Name: "King Of Cards"},
		{Prov: "Novomatic", Name: "Lucky Lady's Charm"},
		{Prov: "Novomatic", Name: "Lucky Lady's Charm Deluxe"},
		{Prov: "Novomatic", Name: "Pharaoh's Gold II"},
		{Prov: "Novomatic", Name: "Pharaoh's Gold III"},
		{Prov: "Novomatic", Name: "Polar Fox"},
		{Prov: "Novomatic", Name: "Ramses II"},
		{Prov: "Novomatic", Name: "Royal Treasures"},
		{Prov: "Novomatic", Name: "Secret Forest"},
		{Prov: "Novomatic", Name: "The Money Game"},
		{Prov: "Novomatic", Name: "The Money Game Deluxe"},
		{Prov: "Novomatic", Name: "Unicorn Magic"},
		{Prov: "Novomatic", Name: "Cold Spell"},
		{Prov: "Novomatic", Name: "Mermaid's Pearl"},
	},
	GP: game.GPsel |
		game.GPretrig |
		game.GPfgmult |
		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 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, 9000},
	{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, 125},
	{0, 0, 10, 50, 125},
	{0, 0, 5, 25, 100},
	{0, 0, 5, 25, 100},
	{0, 0, 5, 25, 100},
	{0, 2, 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 ScatFreespin = [5]int{0, 0, 15, 15, 15} // 13 pearl

Scatter freespins table

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

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"`
}

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