Skip to content

Instantly share code, notes, and snippets.

@jmolero
Created May 22, 2017 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmolero/09b663a04f6f454960b4e6e5c1fbe74f to your computer and use it in GitHub Desktop.
Save jmolero/09b663a04f6f454960b4e6e5c1fbe74f to your computer and use it in GitHub Desktop.
Workflow
Starting game:
User opens game page in your casino
We send Create session request OR Start demo request (see below) to your server
Your respond with session id and launch options
Store session id for the user and game
Processing game events:
Some event happened in game (bet, win etc.)
You can send Play request to our server
We handle this event
Player continue to play
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment