Skip to content

Commit 02be31a

Browse files
ct/50shiningjewels game added.
1 parent 68bf8dd commit 02be31a

174 files changed

Lines changed: 1200 additions & 493 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Slots games server. Releases functionality for CT Interactive, Novomatic, NetEnt
1616
Server provides HTTP-based API for popular slots and have well-optimized performance for thousands requests per second. Can be deployed on dedicated server or as portable application for Linux or Windows.
1717

1818
```text
19-
total: 314 games, 163 algorithms, 11 providers
19+
total: 315 games, 164 algorithms, 11 providers
2020
AGT: 64 games
2121
Aristocrat: 6 games
2222
BetSoft: 3 games
23-
CT Interactive: 111 games
23+
CT Interactive: 112 games
2424
IGT: 5 games
2525
Megajack: 4 games
2626
NetEnt: 22 games
@@ -32,6 +32,7 @@ Slotopol: 2 games
3232

3333
*Last added games*:
3434

35+
* '[50 Shining Jewels](https://www.slotsmate.com/software/ct-interactive/50-shining-jewels)' CT Interactive 5x4 videoslot
3536
* '[40 Mega Slot](https://www.slotsmate.com/software/ct-interactive/40-mega-slot)' CT Interactive 5x4 videoslot
3637
* '[40 Roosters](https://www.slotsmate.com/software/ct-interactive/40-roosters)' CT Interactive 5x4 videoslot
3738
* '[30 Treasures](https://www.slotsmate.com/software/ct-interactive/30-treasures)' CT Interactive 5x3 videoslot

api/slot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func ApiSlotSpin(c *gin.Context) {
287287
}
288288

289289
var cost float64
290-
if !game.Free() {
290+
if !game.FreeMode() {
291291
cost = game.Cost()
292292
if props.Wallet < cost {
293293
Ret403(c, AEC_slot_spin_nomoney, ErrNoMoney)

cmd/links.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ import (
5252
// CT Interactive
5353
_ "github.com/slotopol/server/game/slot/ct/30treasures"
5454
_ "github.com/slotopol/server/game/slot/ct/40megaslot"
55+
_ "github.com/slotopol/server/game/slot/ct/50shiningjewels"
5556
_ "github.com/slotopol/server/game/slot/ct/bigjoker"
5657
_ "github.com/slotopol/server/game/slot/ct/britania"
5758
_ "github.com/slotopol/server/game/slot/ct/cherrycrown"

cmd/scan.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var scanCmd = &cobra.Command{
9494
}
9595
if scan == nil {
9696
fmt.Println()
97-
fmt.Printf("*** scanner for '%s' game is absent ***\n", alias)
97+
fmt.Printf("*** scanner for '%s' game does not provided ***\n", alias)
9898
}
9999
if len(list) > 1 {
100100
fmt.Println()

docs/list-all.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'50 Apples' Shine' AGT 5x4 videoslot
2222
'50 Gems' AGT 5x4 videoslot
2323
'50 Happy Santa' AGT 5x4 videoslot
24+
'50 Shining Jewels' CT Interactive 5x4 videoslot
2425
'AI' AGT 5x3 videoslot
2526
'African Simba' Novomatic 5x3 videoslot
2627
'Age of Heroes' Novomatic 5x3 videoslot
@@ -317,11 +318,11 @@
317318
'Wonder 7's' CT Interactive 5x3 videoslot
318319
'Zeus' AGT 4x4 videoslot
319320
320-
total: 314 games, 163 algorithms, 11 providers
321+
total: 315 games, 164 algorithms, 11 providers
321322
AGT: 64 games
322323
Aristocrat: 6 games
323324
BetSoft: 3 games
324-
CT Interactive: 111 games
325+
CT Interactive: 112 games
325326
IGT: 5 games
326327
Megajack: 4 games
327328
NetEnt: 22 games

game/slot/agt/aislot/aislot_rule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func (g *Game) ScanLined(wins *slot.Wins) {
6565
var syml slot.Sym
6666
var x slot.Pos
6767
for x = 1; x <= 5; x++ {
68-
var sx = g.LY(x, line)
68+
var sx = g.LX(x, line)
6969
if sx == wsc {
7070
continue
7171
} else if syml == 0 {
@@ -108,7 +108,7 @@ func (g *Game) ScanScatters(wins *slot.Wins) {
108108

109109
func (g *Game) Spin(mrtp float64) {
110110
var reels, _ = ReelsMap.FindClosest(mrtp)
111-
g.ReelSpin(reels)
111+
g.SpinReels(reels)
112112
}
113113

114114
func (g *Game) SetSel(sel int) error {

game/slot/agt/aladdin/aladdin_rule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (g *Game) ScanLined(wins *slot.Wins) {
6464
var syml slot.Sym
6565
var x slot.Pos
6666
for x = 1; x <= 5; x++ {
67-
var sx = g.LY(x, line)
67+
var sx = g.LX(x, line)
6868
if sx == wild {
6969
if syml == 0 {
7070
numw = x
@@ -123,7 +123,7 @@ func (g *Game) ScanScatters(wins *slot.Wins) {
123123

124124
func (g *Game) Spin(mrtp float64) {
125125
var reels, _ = ReelsMap.FindClosest(mrtp)
126-
g.ReelSpin(reels)
126+
g.SpinReels(reels)
127127
}
128128

129129
func (g *Game) SetSel(sel int) error {

game/slot/agt/cherryhot/cherryhot_rule.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ func (g *Game) ScanLined(wins *slot.Wins) {
7979
var fm float64 // fill mult
8080
for li, line := range BetLines[:g.Sel] {
8181
var numl slot.Pos = 5
82-
var syml = g.LY(1, line)
82+
var syml = g.LX(1, line)
8383
var x slot.Pos
8484
for x = 2; x <= 5; x++ {
85-
var sx = g.LY(x, line)
85+
var sx = g.LX(x, line)
8686
if sx != syml {
8787
numl = x - 1
8888
break
@@ -121,7 +121,7 @@ func (g *Game) ScanScatters(wins *slot.Wins) {
121121

122122
func (g *Game) Spin(mrtp float64) {
123123
var reels, _ = ReelsMap.FindClosest(mrtp)
124-
g.ReelSpin(reels)
124+
g.SpinReels(reels)
125125
}
126126

127127
func (g *Game) SetSel(sel int) error {

game/slot/agt/doubleice/doubleice_rule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (g *Game) FillMult() float64 {
6262
func (g *Game) Scanner(wins *slot.Wins) error {
6363
var fm float64 // fill mult
6464
for li, line := range BetLines[:g.Sel] {
65-
var sym1, sym2, sym3 = g.LY(1, line), g.LY(2, line), g.LY(3, line)
65+
var sym1, sym2, sym3 = g.LX(1, line), g.LX(2, line), g.LX(3, line)
6666
if sym1 == sym2 && sym1 == sym3 {
6767
if fm == 0 { // lazy calculation
6868
fm = g.FillMult()
@@ -82,7 +82,7 @@ func (g *Game) Scanner(wins *slot.Wins) error {
8282

8383
func (g *Game) Spin(mrtp float64) {
8484
var reels, _ = ReelsMap.FindClosest(mrtp)
85-
g.ReelSpin(reels)
85+
g.SpinReels(reels)
8686
}
8787

8888
func (g *Game) SetSel(sel int) error {

game/slot/agt/egypt/egypt_rule.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (g *Game) ScanLined(wins *slot.Wins) {
7171
var syml slot.Sym
7272
var x slot.Pos
7373
for x = 1; x <= 5; x++ {
74-
var sx = g.LY(x, line)
74+
var sx = g.LX(x, line)
7575
if sx == wild {
7676
if syml == 0 {
7777
numw = x
@@ -131,7 +131,7 @@ func (g *Game) ScanScatters(wins *slot.Wins) {
131131

132132
func (g *Game) Spin(mrtp float64) {
133133
var reels, _ = ReelsMap.FindClosest(mrtp)
134-
g.ReelSpin(reels)
134+
g.SpinReels(reels)
135135
}
136136

137137
func (g *Game) Prepare() {

0 commit comments

Comments
 (0)