From 616c09dc79949b44808f95a1c5043e96e0baf985 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sun, 29 May 2016 22:35:57 +0200 Subject: [PATCH] full JSON --- src/arenas/tictactoe/act.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/arenas/tictactoe/act.php b/src/arenas/tictactoe/act.php index 5801dd1..9afc85b 100644 --- a/src/arenas/tictactoe/act.php +++ b/src/arenas/tictactoe/act.php @@ -23,7 +23,7 @@ switch ($_POST['act']){ $end=false; //send init message to bots - $game_id=get_unique_id(); + $game_id = "".get_unique_id(); for($player = 0; $player < 2; $player++){ $params[$player]=array( 'game-id' => $game_id, @@ -73,7 +73,6 @@ switch ($_POST['act']){ ); $httpResponse=json_decode(get_IA_Response($playerURL,$paramsToSend)); - echo "****************".$httpResponse; $playerResponse=$httpResponse['play']; //tester la validité de la réponse