diff --git a/html/StupidIABattleship.php b/html/StupidIABattleship.php index bd204f5..202cc2e 100644 --- a/html/StupidIABattleship.php +++ b/html/StupidIABattleship.php @@ -209,7 +209,8 @@ switch($_POST['act']){ case "fight": if((is_int($_POST['width'])) && (is_int($_POST['height']))){ echo rand(0,$_POST['width']).",".$_POST['height']; - die; + }else{ + echo "boaf".$_POST['width']."-".$_POST['height']; }