This commit is contained in:
gnieark 2016-06-15 19:21:57 +02:00
parent faf6867d01
commit 434b916768

View File

@ -41,7 +41,7 @@ function can_win($line,$myChar){
}
return false;
}
function can_loose($line,$hisChar,$depth=0;){
function can_loose($line,$hisChar,$depth=0){
if ($depth == 0){
//je pourrai perdre aux 2 prochains tours de jeu
// retourne la place du caractere à remplacer pour éviter ça