This document provides a high level guideline on specific requirements for developing H5 games that can be integrated with the Orange Games tournament platform, powered by Goama.
You can install the SDK from goama in two ways.
Goama SDK can be installed in a game by including the build file into the games HTML page.
The build file is **available here.
The SDK can be included in the games through npm/yarn installation.
Install the package with the below command:
npm install gg-game-sdk
The H5 game will be hosted in an iFrame within an HTML document. The SDK provides methods for communicating with the parent window. Functionalities like creating/updating game and user specific data - e.g. high scores, perks earned etc, letting the Tournament Platform know that a game has ended, paused or resumed etc. and listening to events passed on from the parent window, like pause, resume, quit etc.