Skip to content

Latest commit

 

History

History
77 lines (54 loc) · 3.39 KB

install.md

File metadata and controls

77 lines (54 loc) · 3.39 KB
layout title description
default
Install Phune Gaming
Download and configure everything you need to get started


To download and install the Phune Gaming client platform complete the steps bellow:

Request a developer's account

Send an email to [email protected] with the following information:

{% markdown %} **Name:** "The name of the game", **Description:** "The description of the game" **Move timeout:** 60 (time available for each turn) **Bot:** true/false (whether your game support bots or not) {% endmarkdown %}

In response you will receive an id for your game and the credentials for an SFTP account that you will need later to deploy the server-side rules on the server. The rules are used to manage the game states, to validate players' moves or to generate moves for a bot.

{% markdown %} You can always update the game details by sending us a new email and refering the game `id`. {% endmarkdown %}

Download Phune Gaming

To download the Phune Gaming client platform you must accept the Present Technologies License Agreement for Phune Gaming.

Accept License Agreement
Download the Phune Gaming client platform


Install Phune Gaming

Install the Phune Gaming client platform by following the steps below:

  1. Unzip the platform into a local folder.
  2. Inside the platform create a new folder called game.
  3. Inside the folder game, create another folder named after the id from our email. This folder is where your game contents will reside.
  4. Finally, inside that folder create a new empty index.html file.

Test Phune Gaming

To test if your environment is set up properly, copy the platform contents to an HTTP server of your choice. Alternatively, if you have Python installed, you can simply run python -m SimpleHTTPServer with Python 2 or python3 -m http.server with Python 3, at the root of the platform's folder.

Open your web browser and navigate to localhost:port[/platform-location] (i.e. localhost:8000 when using Python's SimpleHTTPServer module). You should see the Phune Gaming client platform, feel free to explore it. At this point you will not be able to start your game yet, since you need to implement the required callbacks described in the next section.


What's next? Go to our JavaScript SDK documentation to start developing your game.