From 9716aa8136e5479cb0ae1c0d88b1b92a2517229f Mon Sep 17 00:00:00 2001 From: Manfred Touron Date: Sat, 11 Jun 2016 01:08:23 +0200 Subject: [PATCH] fix invalid json --- StupidIAconnectFour.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StupidIAconnectFour.php b/StupidIAconnectFour.php index f001ae0..2d3a88b 100644 --- a/StupidIAconnectFour.php +++ b/StupidIAconnectFour.php @@ -11,7 +11,7 @@ $in=file_get_contents('php://input'); $params=json_decode($in, TRUE); switch($params['action']){ case "init": - echo "{'name':'Stupid AI'}"; + echo '{"name":"Stupid AI"}'; break; case "play-turn":