Game Launcher Instructions
This section explains the steps necessary to launch and integrate games correctly in an existing game portal/website.
Implementation Steps
-
Subdomain Configuration: For each game provider, a special subdomain is necessary that must be provided by the Operator Account System.
-
URL Construction: The operator’s account system must make a request to our URL of the launcher game configured with the necessary parameters.
-
Parameter Configuration: Include all required parameters as described in the Parameters section.
-
Integration Testing: Test the integration in the stage environment before moving to production.
URL Construction Example
https://SubDomainProvider.DomainOperator/Launcher/Game/?authToken=(Hash)&walletId=(walletId)&gameid=(gameid)&device=(device)&username=(username)&playerid=(playerid)&language=(language)¤cy=(currency)&isDemo=(isDemo)Replace the placeholder values with actual values for your implementation.
Game Launch Process
Once all the steps are completed and the URL is accessed:
- The game will start to download
- Communication with the API will begin
- The player’s session will be created
- The game will be displayed in the player’s browser
Implementation Considerations
Security
- Ensure that all communication is over HTTPS
- Validate the authToken on your server before redirecting the player
- Implement proper error handling for failed launches
User Experience
- Consider implementing a loading indicator while the game is downloading
- Provide clear error messages if the game fails to launch
- Ensure that the game container is properly sized for the device
Technical Requirements
- The game container should be an iframe or div element
- The container should have a minimum width and height as specified by the game provider
- The page should not have any JavaScript errors that could interfere with the game
Troubleshooting
If you encounter issues with the game launch:
- Verify that all required parameters are correctly included in the URL
- Check that the subdomain is correctly configured
- Ensure that the player has sufficient balance (for real money games)
- Check the browser console for any JavaScript errors
- Verify that the player’s session is valid