fix invalid json

This commit is contained in:
Manfred Touron 2016-06-11 01:08:23 +02:00 committed by GitHub
parent 54e2db0519
commit 9716aa8136

View File

@ -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":