columbus

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Jackpot = [10][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},
}

Jackpot win combinations.

View Source
var LinePay = [10][5]float64{
	{0, 10, 100, 1000, 5000},
	{0, 5, 50, 200, 1000},
	{0, 5, 25, 100, 500},
	{0, 5, 15, 75, 250},
	{0, 0, 10, 40, 150},
	{0, 0, 10, 40, 150},
	{0, 0, 10, 40, 150},
	{0, 0, 5, 20, 100},
	{0, 0, 5, 20, 100},
	{0, 0, 0, 0, 0},
}

Lined payment.

View Source
var ReelsBon = game.Reels5x{
	{5, 1, 9, 8, 2, 10, 6, 5, 10, 8, 3, 4, 8, 5, 10, 7, 8, 5, 9, 8, 5, 3, 6, 5, 8},
	{7, 9, 3, 7, 4, 6, 9, 7, 8, 9, 7, 8, 9, 7, 8, 5, 2, 8, 5, 4, 9, 6, 7, 9, 1},
	{6, 8, 4, 7, 5, 9, 6, 2, 9, 5, 6, 8, 10, 6, 3, 9, 6, 8, 7, 5, 10, 6, 8, 1},
	{6, 9, 1, 6, 7, 9, 4, 2, 8, 9, 3, 8, 7, 3, 4, 9, 5, 4, 6, 3, 5, 8, 3, 9, 1},
	{7, 4, 9, 6, 10, 9, 6, 4, 9, 8, 7, 1, 8, 9, 3, 7, 2, 9, 3, 8, 10, 4, 5, 2},
}

reels lengths [25, 25, 24, 25, 24], total reshuffles 9000000 symbols: 194.86(lined) + 0(scatter) = 194.856667% free spins 2025000, q = 0.225, sq = 1/(1-q) = 1.290323 RTP = sq*rtp(sym) = 1.2903*194.86 = 251.427957%

View Source
var ReelsMap = map[string]*game.Reels5x{
	"85":  &ReelsReg85,
	"88":  &ReelsReg88,
	"90":  &ReelsReg90,
	"92":  &ReelsReg92,
	"94":  &ReelsReg94,
	"95":  &ReelsReg95,
	"96":  &ReelsReg96,
	"97":  &ReelsReg97,
	"143": &ReelsReg143,
	"bon": &ReelsBon,
}

Map with available reels.

View Source
var ReelsReg143 = game.Reels5x{
	{1, 5, 7, 10, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 10, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 1, 7, 9, 8, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
	{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 8, 3, 5, 10, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 68.866(lined) + 0(scatter) = 68.865562% free spins 7620480, q = 0.29663, sq = 1/(1-q) = 1.421729 RTP = 68.866(sym) + 0.29663*251.43(fg) = 143.446853%

View Source
var ReelsReg85 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 7, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 6, 7, 9, 4, 6, 8, 9, 6, 8, 7, 3, 6, 9, 5, 7, 6, 8, 9, 2, 9, 7, 6, 5, 8},
	{10, 6, 5, 9, 6, 10, 5, 6, 4, 1, 8, 6, 1, 8, 9, 3, 7, 2, 4, 3, 9, 4, 2, 9, 3, 4, 5, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 60.236(lined) + 0(scatter) = 60.236366% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 60.236(sym) + 0.098877*251.43(fg) = 85.096797%

View Source
var ReelsReg88 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 6, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 7, 8, 7, 5, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 6, 7, 9, 4, 6, 8, 1, 6, 8, 7, 3, 6, 9, 5, 7, 6, 8, 9, 2, 9, 7, 6, 5, 8},
	{10, 6, 5, 9, 6, 10, 5, 6, 4, 1, 8, 6, 1, 8, 9, 3, 7, 2, 4, 3, 9, 4, 2, 9, 3, 4, 5, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 63.094(lined) + 0(scatter) = 63.094159% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 63.094(sym) + 0.098877*251.43(fg) = 87.954589%

View Source
var ReelsReg90 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 6, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 7, 8, 7, 5, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 5, 6, 7, 9, 4, 6, 8, 1, 6, 8, 7, 3, 6, 1, 5, 7, 6, 8, 9, 2, 9, 7, 6, 5, 8},
	{10, 6, 5, 9, 6, 10, 5, 6, 4, 9, 8, 6, 1, 8, 9, 3, 7, 2, 4, 3, 9, 4, 2, 9, 3, 4, 8, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 65.101(lined) + 0(scatter) = 65.101001% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 65.101(sym) + 0.098877*251.43(fg) = 89.961431%

View Source
var ReelsReg92 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 6, 7, 9, 4, 6, 8, 9, 5, 8, 7, 3, 6, 9, 5, 7, 1, 8, 9, 2, 9, 7, 6, 5, 8},
	{10, 6, 1, 9, 6, 10, 5, 6, 4, 1, 8, 6, 1, 8, 9, 3, 7, 2, 6, 3, 9, 4, 2, 9, 3, 4, 5, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 67.18(lined) + 0(scatter) = 67.180478% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 67.18(sym) + 0.098877*251.43(fg) = 92.040908%

View Source
var ReelsReg94 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 8, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 1, 7, 9, 4, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
	{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 3, 8, 5, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 69.142(lined) + 0(scatter) = 69.142322% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 69.142(sym) + 0.098877*251.43(fg) = 94.002752%

View Source
var ReelsReg95 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 4, 8, 1, 7, 9, 4, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 5, 7, 4, 5, 8},
	{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 3, 7, 5, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 70.162(lined) + 0(scatter) = 70.162364% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 70.162(sym) + 0.098877*251.43(fg) = 95.022795%

View Source
var ReelsReg96 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 1, 7, 9, 4, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
	{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 3, 8, 5, 3, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 71.226(lined) + 0(scatter) = 71.225614% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 71.226(sym) + 0.098877*251.43(fg) = 96.086044%

View Source
var ReelsReg97 = game.Reels5x{
	{1, 5, 7, 9, 8, 2, 10, 6, 4, 10, 6, 3, 4, 8, 9, 10, 7, 8, 9, 7, 8, 9, 3, 8, 9, 7, 5, 9, 7, 2, 5, 9},
	{1, 7, 6, 3, 7, 4, 6, 9, 3, 8, 5, 6, 2, 9, 6, 8, 5, 2, 8, 5, 8, 6, 9, 8, 4, 5, 8, 6},
	{1, 6, 8, 4, 7, 5, 9, 6, 7, 9, 5, 6, 8, 7, 5, 3, 9, 6, 8, 7, 6, 9, 7, 5, 8, 4, 10, 7, 9, 2, 10, 9},
	{1, 6, 9, 8, 1, 7, 9, 8, 6, 8, 9, 3, 5, 2, 6, 3, 9, 5, 7, 1, 8, 9, 2, 9, 7, 4, 5, 8},
	{10, 6, 8, 9, 6, 10, 5, 6, 4, 1, 8, 7, 1, 8, 9, 3, 7, 2, 6, 8, 9, 4, 7, 9, 8, 3, 5, 8, 9, 4, 7, 5},
}

reels lengths [32, 28, 32, 28, 32], total reshuffles 25690112 symbols: 72.169(lined) + 0(scatter) = 72.168623% free spins 2540160, q = 0.098877, sq = 1/(1-q) = 1.109726 RTP = 72.169(sym) + 0.098877*251.43(fg) = 97.029053%

Functions

func CalcStatBon

func CalcStatBon(ctx context.Context) float64

func CalcStatReg

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

Types

type Game

type Game struct {
	game.Slot5x3 `yaml:",inline"`
	FS           int `json:"fs" yaml:"fs" xml:"fs"` // free spin number
}

func NewGame

func NewGame(rd string) *Game

func (*Game) Apply

func (g *Game) Apply(screen game.Screen, sw *game.WinScan)

func (*Game) FreeSpins

func (g *Game) FreeSpins() int

func (*Game) ScanLined

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

Lined symbols calculation.

func (*Game) ScanScatters

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

Scatters 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