Freerounds

This manual was created by request to show the process of working with free rounds, including the place, where the messages are supposed to be shown.

It will be started from simple sequence diagram, showing steps for working with freespins, and below - real requests-responses from game server on our latest game client SDK, as example.

Step 0.

Freespins are added by operator and stored for player. The very next login the information about freespins will be sent to the game.

Initial response is sent from Casino, and has next structure:

[host]play?playerId={}&gameId={}&platform={desktop/mobile}&gameJs={link to client code on CDN}&walletType={“rm”}” and some other parameters, that can be added (for instance, regulations)

For instance:

https://ngp.dev02-gs-stakelogic.com/play?playerId=e7b96002-741f-4243-b840-ec03dd5c38fa&gameId=11660096&platform=desktop&gameJs=https%3A%2F%2Fcdn.dev02-gs-stakelogic.com%2Fslsdk%2FBanditsThunderLink%2F1_0_49%2Fbanditsthunderlink.js&walletType=rm&regulationId=&thirdPartyEvent=

Response for this request will have the next view: HTML page with session info and client info. Using session URL, client-server communication starts.

HTML
Copy

Step 1

Then comes sequence of requests-responses, to load the game and its configuration specifically:

Bash
Copy

Step 2

request for configuration

Bash
Copy

Response:

JSON
Copy

Step 3

Second step of init request-response, which sends the information about the game and wallet (where exactly freespins are stored):

JSON
Copy

With response:

JSON
Copy

Step 4

Freespins are played, as usual spins, response is next:

JSON
Copy

With response:

JSON
Copy

Step 5

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard