jewels

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 = game.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.78647812896236%

View Source
var Reels118 = game.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.80805616707323%

View Source
var Reels89 = game.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.89513326694501%

View Source
var Reels90 = game.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.84989867172462%

View Source
var Reels91 = game.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.00109755497654%

View Source
var Reels93 = game.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.98564740740741%

View Source
var Reels95 = game.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.01621102640111%

View Source
var Reels96 = game.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.0811008%

View Source
var Reels98 = game.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.61364863405679%

View Source
var ReelsMap = map[string]*game.Reels5x{
	"89":  &Reels89,
	"90":  &Reels90,
	"91":  &Reels91,
	"93":  &Reels93,
	"95":  &Reels95,
	"96":  &Reels96,
	"98":  &Reels98,
	"100": &Reels100,
	"118": &Reels118,
}

Map with available reels.

Functions

func CalcStat

func CalcStat(ctx context.Context, rn string) float64

Types

type Game

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

func NewGame

func NewGame(rd string) *Game

func (*Game) ScanLined

func (g *Game) ScanLined(screen game.Screen, ws *game.WinScan)

Lined symbols calculation.

func (*Game) Scanner

func (g *Game) Scanner(screen game.Screen, ws *game.WinScan)

func (*Game) SetLines

func (g *Game) SetLines(sbl game.SBL) error

func (*Game) SetReels

func (g *Game) SetReels(rd string) error

func (*Game) Spin

func (g *Game) Spin(screen game.Screen)

Jump to

Keyboard shortcuts

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