.
This commit is contained in:
parent
580357417c
commit
9e9ec23d08
|
@ -210,7 +210,7 @@ switch($message['action']){
|
||||||
|
|
||||||
echo json_encode(array("name" => "gnieark", "boats" => $shipsCoords));
|
echo json_encode(array("name" => "gnieark", "boats" => $shipsCoords));
|
||||||
break;
|
break;
|
||||||
case "fight":
|
case "play-turn":
|
||||||
//for debog arena
|
//for debog arena
|
||||||
|
|
||||||
echo rand(0,$_POST['width'] -1).",".rand(0,$_POST['height'] -1);
|
echo rand(0,$_POST['width'] -1).",".rand(0,$_POST['height'] -1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user