twomillionbc

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Acorn = [...]float64{
	4, 5, 6, 7, 8, 10, 10, 10, 12, 15, 20, 25,
}

Average gain = 11

View Source
var BetLines = slot.BetLinesNetEnt5x3[:30]

Bet lines

View Source
var DiamondLion = [...]float64{
	50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250, 260, 270, 280, 290, 300,
}

Average gain = 175

View Source
var Eacbn float64
View Source
var Edlbn float64
View Source
var Info = game.GameInfo{
	Aliases: []game.GameAlias{
		{Prov: "BetSoft", Name: "2 Million B.C."},
	},
	GP: game.GPsel |
		game.GPretrig |
		game.GPfgreel |
		game.GPscat,
	SX:  5,
	SY:  3,
	SN:  len(LinePay),
	LN:  len(BetLines),
	BN:  2,
	RTP: game.MakeRtpList(ReelsMap),
}
View Source
var LinePay = [13][5]float64{
	{0, 30, 100, 300, 500},
	{0, 15, 75, 200, 400},
	{0, 10, 60, 150, 300},
	{0, 5, 50, 125, 250},
	{0, 5, 40, 100, 200},
	{0, 2, 30, 90, 150},
	{0, 0, 25, 75, 125},
	{0, 0, 20, 60, 100},
	{0, 0, 15, 50, 75},
	{0, 0, 10, 25, 50},
	{},
	{},
	{0, 0, 40, 100, 200},
}

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, 4, 12, 20} // 11 fire

Scatter freespins table

Functions

func AcornSpawn

func AcornSpawn(acornbet float64) (pay float64)

func CalcStatBon

func CalcStatBon(ctx context.Context) float64

func CalcStatReg

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

func DiamondLionSpawn

func DiamondLionSpawn(bet float64) float64

func ExpAcorn

func ExpAcorn()

func ExpDiamondLion

func ExpDiamondLion()

Types

type Game

type Game struct {
	slot.Slotx[slot.Screen5x3] `yaml:",inline"`
	// acorns number
	AN int `json:"an" yaml:"an" xml:"an"`
	// acorns bet
	AB float64 `json:"ab" yaml:"ab" xml:"ab"`
}

func NewGame

func NewGame() *Game

func (*Game) Apply

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

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) Spawn

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

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