private void step2CreatePlayerTwo()
 {
     sampleIO.log("Step 2 : CreatePlayerTwo");
     NPlayer player = new NPlayer();
     player.setId("pid02");
     player.setLogin("player2");
     player.setPassword("p2");
     gameApi.savePlayerRequest(player, (SavePlayerResponse response)=>
     {
         step3LoginPlayerOne();
     });
 }
 private void step1SavePlayer()
 {
     sampleIO.log("Step 1 : Save Player");
     NPlayer player = new NPlayer();
     player.setLogin("player1");
     player.setPassword("p1");
     gameApi.savePlayerRequest(player, (SavePlayerResponse response)=>
     {
         if (response.getSavePlayerStatus() == SavePlayerStatus.SUCCESS)
         {
             createdPlayer = response.getPlayer();
             sampleIO.log("Step 1 : Save Player successfull\r\n");
         } else
         {
             sampleIO.log("Step 1 : Fail to Create Player\r\n");
             onExit();
         }
     });
 }