From 4afea9e2db203766bdab3d2e5a790d500471abc2 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Tue, 31 May 2016 13:28:25 +0200 Subject: [PATCH] Update tictactoe.php --- tictactoe.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tictactoe.php b/tictactoe.php index 95e6e90..6ad2646 100644 --- a/tictactoe.php +++ b/tictactoe.php @@ -77,4 +77,4 @@ if(!isset($hisSymbol)){ } -echo '{"play":"'.choose_better_cell($message['board'],$message['you'], $hisSymbol,9 - $freeCells).'"}'; +echo '{"play":"'.choose_better_cell($message['board'],$message['you'], $hisSymbol,9 - $freeCells)[0].'"}';