|
|
|
@ -247,10 +247,11 @@ function play(player){
|
|
|
|
|
addLog('His rsponse is:' + xhr.responseText);
|
|
|
|
|
playingAT(colTarget);
|
|
|
|
|
}else{
|
|
|
|
|
addLog ('bot response must be a digit betwin 0 and 7, witch indicate the conumn number where he wants play. Voici sa réponse: "' + colTarget + '"' );
|
|
|
|
|
addLog ('bot response must be a digit betwin 0 and 7, witch indicate the conumn number where he wants play. His response his: "' + colTarget + '"' );
|
|
|
|
|
}
|
|
|
|
|
}else{
|
|
|
|
|
addLog('le bot ' + player + ' does not respond. ' + xhr.status);
|
|
|
|
|
alert ('Bot ' + player + ' replied with an error code: ' + xhr.status + ' ' + xhr.responseText);
|
|
|
|
|
addLog('Bot ' + player + ' replied with an error code: ' + xhr.status + ' ' + xhr.responseText);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}else{
|
|
|
|
|