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].'"}';