Introduction into GARP

GARP Version 0.3.0
This is a test page to show how the interaction with the GARP framework works. You can read about GARP at garp.readthedocs.io
In oder to make that happen for Your game You would need to add 3 javascript module in Your HTML code in the header:

<script type="text/javascript" src="https://js.garp.io/v0.3.0/atheios.js"></script>
<script type="text/javascript" src="https://js.garp.io/v0.3.0/atheios-api.js"></script>
<script type="text/javascript" src="https://js.garp.io/v0.3.0/hmac-sha256.js"></script>
				

In order to perform the test please enter Your private gametoken and gamesecret and set the connection to wss.atheios.org. The ones here set as default will not work for You. The token and secret can be generated on the portals. It really doesn't matter where You got the token from, it works cross currency.

Create also a gaming user on

and use it when logging in. Again the default values here will not work.

Step through the below items one by one to show the interaction with the portal. The code here can used for game development, but note that there will be API additions in the months to come. We will try to document things on garp.readthedocs.io.

Documentation reference: https://garp.readthedocs.io/en/latest/garp_v020/#authenticatedconnectrequest

Game token
Game secret






Documentation reference: https://garp.readthedocs.io/en/latest/garp_v020/#gameinforequest

Using above GAMETOKEN


User name
User pass


AuthToken
UserId


AuthToken
UserId
GameId
Roomsize


AuthToken
UserId
GameId
Wage
Currency


AuthToken
UserId
PlayId
Score


AuthToken
UserId
PlayId
gameId