animation

This commit is contained in:
Gnieark 2015-12-24 16:32:50 +01:00
parent e8c2343373
commit 79da420534

View File

@ -203,7 +203,6 @@ switch($_POST['act']){
}
}
//print_r($map);
echo json_encode($shipsCoords);
file_put_contents(__DIR__."/log.txt",json_encode($shipsCoords),FILE_APPEND);
break;
@ -211,12 +210,7 @@ switch($_POST['act']){
//for debog arena
file_put_contents(__DIR__."/log.txt",print_r($_POST,true),FILE_APPEND);
// if((is_int(settype($_POST['width'],"integer"))) && (is_int(settype($_POST['height'],"integer")))){
echo rand(0,$_POST['width'] -1).",".rand(0,$_POST['height'] -1);
// }else{
// echo "boaf".$_POST['width']."-".$_POST['height'];
// }
die;