This commit is contained in:
Gnieark 2016-06-06 11:46:28 +02:00
parent 0b04b2bc8b
commit 3ba9f979a3

View File

@ -68,7 +68,7 @@ switch ($_POST['act']){
'game' => 'tictactoe', 'game' => 'tictactoe',
'players' => 2, 'players' => 2,
'board' => $map, 'board' => $map,
'you' => $playerCHAR, 'you' => $playerCHAR,
'player-index' =>$playerIndex 'player-index' =>$playerIndex
); );
@ -126,7 +126,7 @@ switch ($_POST['act']){
$playerPlayingNow=1; $playerPlayingNow=1;
} }
}else{ }else{
echo "<p>".$playerName." a fait une réponse non conforme. Il perd</p>"; echo "<p>".$playerName." a fait une réponse non conforme. Il perd</p><p>".json_encode($playerResponse)."</p>";
break; break;
} }