From 0b511cd931d3bb093d7e93c1b95969aee7e4aa4a Mon Sep 17 00:00:00 2001 From: gnieark Date: Tue, 15 Dec 2015 19:45:28 +0100 Subject: [PATCH] php debug output --- src/arenas/Battleship/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/Battleship/act.php b/src/arenas/Battleship/act.php index 18dace2..550be0f 100644 --- a/src/arenas/Battleship/act.php +++ b/src/arenas/Battleship/act.php @@ -121,7 +121,7 @@ switch ($_POST['act']){ $nbBoatsIwant[$long]-=1; $grid[$player]=place_ship_on_map($xStart,$yStart,$xEnd,$yEnd,$grid[$player]); if(!$grid[$player]){ - echo $currentBot['name']." n'a pas placé correctement ses bateaux. Certains se chevauchent. Il perd"; + echo $currentBot['name']." n'a pas placé correctement ses bateaux. Certains se chevauchent. Il perd
'.$anwserPlayer.'
"; if($player==1){ save_battle('Battleship',$bot1['name'],$bot2['name'],2); }else{