fix
This commit is contained in:
parent
36bed2c89f
commit
a17003067f
|
@ -127,7 +127,7 @@ function play(player){
|
|||
if(xhr.status == 200) {
|
||||
|
||||
var response=xhr.responseText;
|
||||
if (response.match('/[0-6]/')){
|
||||
if (response.match('/^[0-6]$/')){
|
||||
playingAT(response);
|
||||
}else{
|
||||
alert ('la reponse du bot doit etre un digit compris entre 0 et 7, correspondant à la colonne. Voici sa réponse ' + response);
|
||||
|
|
Loading…
Reference in New Issue
Block a user