Mayday game client 0.1.0
=====================

This archive is the static build of the Mayday crash-game screen: the visual module that
runs in an iframe on an operator's site. It holds no game or money logic. Every round, bet
and payout is decided by the Mayday server; the screen only shows it.

How to embed
------------
1. From your backend, create a player session with your merchant key:

     POST <mayday-host>/api/v1/sessions
     Authorization: Bearer <your merchant key>

   The response carries the player's session token and a ready-made launchUrl.

2. Put the game on your page in an iframe, with the token in the query string:

     <iframe src="<mayday-host>/play/?token=<session token>"
             allow="autoplay; fullscreen" style="width:100%;height:100%;border:0"></iframe>

   (or use launchUrl from the response as the src).

Hosting the files yourself
--------------------------
The build is served from the path /play/ and talks to the Mayday server over a WebSocket
at /ws on the host it is served from. Put the files under /play/ and route /ws on that
host to your Mayday server. The simplest setup is the hosted copy through launchUrl.
