.
This commit is contained in:
parent
0b04b2bc8b
commit
3ba9f979a3
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user