php debug output
This commit is contained in:
parent
374683d060
commit
ebf6583d56
|
@ -132,7 +132,7 @@ switch ($_POST['act']){
|
||||||
}
|
}
|
||||||
foreach($nbBoatsIwant as $nb){
|
foreach($nbBoatsIwant as $nb){
|
||||||
if($nb <> 0){
|
if($nb <> 0){
|
||||||
echo $currentBot['name']." n'a pas placé correctement ses bateaux. Il perd";
|
echo $currentBot['name']." n'a pas placé correctement ses bateaux. Il perd. sa réponse: <pre>'.$anwserPlayer.'</pre>";
|
||||||
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