From 9e9ec23d08aa9c9999bc3dbd5a736c8531dcf4b4 Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 29 Jun 2016 00:40:35 +0200 Subject: [PATCH] . --- StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StupidIABattleship.php b/StupidIABattleship.php index 5a870ac..c57ac96 100644 --- a/StupidIABattleship.php +++ b/StupidIABattleship.php @@ -210,7 +210,7 @@ switch($message['action']){ echo json_encode(array("name" => "gnieark", "boats" => $shipsCoords)); break; - case "fight": + case "play-turn": //for debog arena echo rand(0,$_POST['width'] -1).",".rand(0,$_POST['height'] -1);