From 1f602275ef698d81aa6ee8ed8379f5b0f68a8a95 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sun, 15 May 2016 00:05:31 +0200 Subject: [PATCH] debug --- src/arenas/connectFour/act.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arenas/connectFour/act.php b/src/arenas/connectFour/act.php index 7392db5..ac7297b 100644 --- a/src/arenas/connectFour/act.php +++ b/src/arenas/connectFour/act.php @@ -130,7 +130,7 @@ switch ($_POST['act']){ } } //tester si 4 pions allignés diagonale vers la gauche - if((!$wins) && ($i > 2) && ($j < 2)){ + if((!$wins) && ($i > 2) && ($j < 3)){ $wins=true; for($x = $i-1, $y = $j+1; $x > $i - 4 ; $x++, $y++){ if($_SESSION['map'][$y][$x] <> $you){