debug php
This commit is contained in:
parent
eb2f475b59
commit
f6212a8947
|
@ -90,7 +90,7 @@ switch ($_POST['act']){
|
||||||
$anwserPlayer=get_IA_Response($currentBot['url'],$botParamsToSend);
|
$anwserPlayer=get_IA_Response($currentBot['url'],$botParamsToSend);
|
||||||
$boatsPlayer = json_decode( html_entity_decode($anwserPlayer));
|
$boatsPlayer = json_decode( html_entity_decode($anwserPlayer));
|
||||||
if(!$boatsPlayer){
|
if(!$boatsPlayer){
|
||||||
echo $currentBot['name']." a fait une réponse non conforme, il perd.";
|
echo $currentBot['name']." a fait une réponse non conforme, il perd.".$anwserPlayer;
|
||||||
if($player==1){
|
if($player==1){
|
||||||
save_battle('Battleship',$bot1['name'],$bot2['name'],2);
|
save_battle('Battleship',$bot1['name'],$bot2['name'],2);
|
||||||
}else{
|
}else{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user