From 44751a1a3116f2f600fd61d40eb376f36a32abf0 Mon Sep 17 00:00:00 2001 From: gnieark Date: Wed, 29 Jun 2016 00:44:21 +0200 Subject: [PATCH] . --- StupidIABattleship.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StupidIABattleship.php b/StupidIABattleship.php index 23f567a..031b640 100644 --- a/StupidIABattleship.php +++ b/StupidIABattleship.php @@ -213,7 +213,7 @@ switch($message['action']){ case "play-turn": //for debog arena - echo rand(0,$message['board']['width'] -1).",".rand(0,$message['board']['height'] -1); + echo '{"play":"'.rand(0,$message['board']['width'] -1).",".rand(0,$message['board']['height'] -1).'"}'; die;