diff --git a/html/testBotScripts/connectfour.html b/html/testBotScripts/connectfour.html
index 4b13fb8..638e4dc 100644
--- a/html/testBotScripts/connectfour.html
+++ b/html/testBotScripts/connectfour.html
@@ -222,7 +222,7 @@ function play(player){
var arrToSend= {
"game-id": "" + gameId,
"action" : "play-turn",
- "game" : "connectfour",
+ "game" : "connectFour",
"players" : 2,
"board" : board,
"you" : symbol,
@@ -301,9 +301,9 @@ function startGame(){
var xhr = new XMLHttpRequest();
xhr.open("POST", document.getElementById('url' + p).value, false);
xhr.setRequestHeader("Content-Type", "application/json");
- xhr.send(' {"game-id":"' + gameId + '","action":"init","game":"connectfour","players":2,"board":"","player-index":' + (p - 1) +'}');
+ xhr.send(' {"game-id":"' + gameId + '","action":"init","game":"connectFour","players":2,"board":"","player-index":' + (p - 1) +'}');
if(xhr.status == 200) {
- addLog('Message d\'init envoyé au bot player ' + p + ' {"game-id":"' + gameId + '","action":"init","game":"connectfour","players":2,"board":"","player-index":' + (p - 1) +'}
il a répondu ' + xhr.responseText );
+ addLog('Message d\'init envoyé au bot player ' + p + ' {"game-id":"' + gameId + '","action":"init","game":"connectFour","players":2,"board":"","player-index":' + (p - 1) +'}
il a répondu ' + xhr.responseText );
}else{
addLog('player ' + p + ' n est pas joignable ' + xhr.status);
return;
diff --git a/src/arenas/connectFour/act.php b/src/arenas/connectFour/act.php
index 9d1fabb..acfbe87 100644
--- a/src/arenas/connectFour/act.php
+++ b/src/arenas/connectFour/act.php
@@ -294,7 +294,7 @@ switch ($_POST['act']){
'continue' =>0,
'strikeX' => -1,
'strikeY' => -1,
- 'log' => $you." ".$currentBotName." a fait une réponse non conforme, il perd"
+ 'log' => $you." ".$currentBotName." a fait une réponse non conforme, il perd".json_encode($tempPlayer)."|";
);
if($_SESSION['currentPlayer']==1){
save_battle('connectFou',$_SESSION['bot1']['name'],$_SESSION['bot2']['name'],2);