diff --git a/html/StupidIAconnectFour.php b/html/StupidIAconnectFour.php
index fda1d04..df357b7 100644
--- a/html/StupidIAconnectFour.php
+++ b/html/StupidIAconnectFour.php
@@ -4,6 +4,9 @@
* choose by random a free column
*/
+print_r($_POST);
+
+/*
$grid=json_decode($_POST['grid']);
$colAvailable=array();
@@ -16,3 +19,4 @@ for($i=0;$i<7;$i++){
shuffle($colAvailable);
echo $colAvailable[0];
die;
+*/
\ No newline at end of file
diff --git a/src/arenas/connectFour/act.php b/src/arenas/connectFour/act.php
index d4b5f6c..c98259a 100644
--- a/src/arenas/connectFour/act.php
+++ b/src/arenas/connectFour/act.php
@@ -84,12 +84,13 @@ switch ($_POST['act']){
'match_id' => $_SESSION['matchId']."-".$_SESSION['currentPlayer'],
'opponent' => $opponentName,
'you' => $you,
- 'grid' => json_encode( $_SESSION['map'])
+ 'grid' => $_SESSION['map']
);
//send query
$anwserPlayer=get_IA_Response($botUrl,$postDatas);
-
+ //for test ***************************
+ echo $anwserPlayer; die;
//vérifier la validité de la réponse
if((isset($_SESSION['map'][5][$anwserPlayer])) && ($_SESSION['map'][5][$anwserPlayer] == "")){
//reponse conforme
diff --git a/src/arenas/connectFour/functions.php b/src/arenas/connectFour/functions.php
index e2633b4..b6208ce 100644
--- a/src/arenas/connectFour/functions.php
+++ b/src/arenas/connectFour/functions.php
@@ -1,5 +1,9 @@