debug
This commit is contained in:
parent
e32760329a
commit
1f602275ef
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue
Block a user