fix
This commit is contained in:
parent
78f22ed674
commit
63e800bd1c
|
@ -90,7 +90,9 @@ function playingAT(cellKey){
|
||||||
var symbol="O";
|
var symbol="O";
|
||||||
}
|
}
|
||||||
grid[cellKey]=symbol;
|
grid[cellKey]=symbol;
|
||||||
|
alert (cellKey);
|
||||||
document.getElementById[cellKey].innerHTML = symbol;
|
document.getElementById[cellKey].innerHTML = symbol;
|
||||||
|
|
||||||
addLog("Player " + currentPlayer + " joue " + cellKey);
|
addLog("Player " + currentPlayer + " joue " + cellKey);
|
||||||
//does he win?
|
//does he win?
|
||||||
//tester si trois caracteres allignés
|
//tester si trois caracteres allignés
|
||||||
|
|
Loading…
Reference in New Issue
Block a user