void TestRetrieve(ScoreBoardClient.ScoreBoardClient client)
 {
     StartCoroutine(client.GetGameScores(scores => {
         foreach (var score in scores)
         {
             Debug.Log(score.PlayerName + " " + score.Points);
         }
     }));
 }
    void Start()
    {
        //Arrange.
        var gameName = "OrbitalExchange";
        //var address = "http://localhost:4035/api/";
        var address = "http://pixelflair.com.au/ScoreBoard/api/";
        var client  = new ScoreBoardClient.ScoreBoardClient(address, gameName);

        TestRetrieve(client);
        TestSubmit(client);
    }
 void TestSubmit(ScoreBoardClient.ScoreBoardClient client)
 {
     StartCoroutine(client.SubmitGameScore("Mel", 200, r => {
         if (r)
         {
             Debug.Log("Score sucessfully submitted!");
         }
         else
         {
             Debug.Log("Failed to submit score!");
         }
     }));
 }