1.0.6 • Published 1 year ago

@enigma-lake/zoot-rgs-sdk v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Zoot - RGS SDK

The Zoot Game RGS SDK is a TypeScript library designed for game servers to seamlessly integrate with the Zoot RGS (Remote Game Service) server.

Request an API Key & GAME_ID by filling this form .

Getting Started

To start using the Enigma Lake Zoot Game RGS Service SDK, follow these steps:

  1. Installation: Install the SDK via npm:
npm install @enigma-lake/zoot-rgs-sdk
  1. Integration: You can import the entire package using the syntax
import * as zootSDK from '@enigma-lake/zoot-rgs-sdk';

or you can import specific types, events, and methods individually, such as:

 import { createRgsService } from '@enigma-lake/zoot-rgs-sdk';
  1. Instantiate:
const rgsService = createRgsService({
  rgsGameId: <GAME_ID_PROVIDED_BY_ZOOT>,
  rgsBearerToken: <API_KEY_PROVIDED_BY_ZOOT>,
  rgsAPIHost: "https://rgs.enigmalakecasino.com,
})
  1. Usage: Utilize SDK methods to communicate with the Zoot backend system.

Game Round

  • Initiate a new game round rgsService.initiateGameRound()
  • Start a game round rgsService.startGameRound()
  • Complete a game round rgsService.completeGameRound()
  • Cancel a game round rgsService.cancelGameRound()
  • Get a game round rgsService.getGameRound()

User Play

  • Register a user play rgsService.registerUserPlay()
  • Deregister a user play rgsService.deregisterUserPlay()
  • Register a user play win rgsService.registerPlayWin()
  • Register a user play lose rgsService.registerPlayLose()
  • Get register user plays rgsService.getRegisteredUserPlays()
1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago