jewels

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 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{
		{ID: "jewels", Name: "Jewels"},
	},
	Provider: "Novomatic",
	GP: game.GPsel |
		game.GPfgno,
	SX:  5,
	SY:  3,
	SN:  len(LinePay),
	LN:  len(BetLines),
	BN:  0,
	RTP: game.MakeRtpList(ReelsMap),
}
View Source
var Jackpot = [7][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},
}

Jackpot win combinations.

View Source
var LinePay = [7][5]float64{
	{0, 0, 20, 200, 2000},
	{0, 0, 15, 100, 500},
	{0, 0, 15, 100, 500},
	{0, 0, 10, 50, 200},
	{0, 0, 10, 50, 200},
	{0, 0, 5, 25, 100},
	{0, 0, 5, 25, 100},
}

Lined payment.

View Source
var Reels100 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
}

reels lengths [23, 23, 23, 23, 23], total reshuffles 6436343 RTP = 99.786478%

View Source
var Reels118 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
}

reels lengths [21, 21, 21, 21, 21], total reshuffles 4084101 RTP = 117.808056%

View Source
var Reels89 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
}

reels lengths [27, 27, 27, 27, 27], total reshuffles 14348907 RTP = 88.895133%

View Source
var Reels90 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7},
}

reels lengths [27, 27, 25, 27, 27], total reshuffles 13286025 RTP = 89.849899%

View Source
var Reels91 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
}

reels lengths [27, 27, 21, 27, 27], total reshuffles 11160261 RTP = 91.001098%

View Source
var Reels93 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
}

reels lengths [25, 25, 27, 25, 25], total reshuffles 10546875 RTP = 92.985647%

View Source
var Reels95 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
}

reels lengths [27, 21, 27, 21, 27], total reshuffles 8680203 RTP = 95.016211%

View Source
var Reels96 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7},
}

reels lengths [25, 25, 25, 25, 25], total reshuffles 9765625 RTP = 96.081101%

View Source
var Reels98 = slot.Reels5x{
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 6, 6, 4, 4, 4, 4, 7, 7, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7},
	{1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7},
}

reels lengths [21, 27, 21, 27, 21], total reshuffles 6751269 RTP = 97.613649%

View Source
var ReelsMap = map[float64]*slot.Reels5x{
	88.895133:  &Reels89,
	89.849899:  &Reels90,
	91.001098:  &Reels91,
	92.985647:  &Reels93,
	95.016211:  &Reels95,
	96.081101:  &Reels96,
	97.613649:  &Reels98,
	99.786478:  &Reels100,
	117.808056: &Reels118,
}

Map with available reels.

Functions

func CalcStat

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

Types

type Game

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

func NewGame

func NewGame() *Game

func (*Game) ScanLined

func (g *Game) ScanLined(screen slot.Screen, wins *slot.Wins)

Lined symbols calculation.

func (*Game) Scanner

func (g *Game) Scanner(screen slot.Screen, wins *slot.Wins)

func (*Game) SetSel

func (g *Game) SetSel(sel slot.Bitset) error

func (*Game) Spin

func (g *Game) Spin(screen slot.Screen, mrtp float64)

Jump to

Keyboard shortcuts

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