From 5a67a17ed7e4d74480ce96f9e583a25a03a3c5be Mon Sep 17 00:00:00 2001 From: Gnieark Date: Mon, 13 Jun 2016 20:58:40 +0200 Subject: [PATCH] . --- connectfour.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connectfour.php b/connectfour.php index 08540d9..58c3178 100644 --- a/connectfour.php +++ b/connectfour.php @@ -36,7 +36,7 @@ function score($board,$me,$opponent,$colToPlay,$depth){ for ($i=0; $i < 6; $i++){ $line.=$newBoard[$i][$colToPlay]; } - echo $line."p".strpos($searchValue,$line)."|\n"; + echo $line."p".$searchValue." ".strpos($searchValue,$line)."|\n"; if(strpos($searchValue,$line)){ return 42 - $depth; }