From 63e800bd1c9042a9d6ce00d604a41f3d2ce6ddbf Mon Sep 17 00:00:00 2001 From: gnieark Date: Fri, 3 Jun 2016 15:49:35 +0200 Subject: [PATCH] fix --- html/testBotScripts/tictactoe.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/testBotScripts/tictactoe.html b/html/testBotScripts/tictactoe.html index 93d8664..11cf3e1 100644 --- a/html/testBotScripts/tictactoe.html +++ b/html/testBotScripts/tictactoe.html @@ -90,7 +90,9 @@ function playingAT(cellKey){ var symbol="O"; } grid[cellKey]=symbol; + alert (cellKey); document.getElementById[cellKey].innerHTML = symbol; + addLog("Player " + currentPlayer + " joue " + cellKey); //does he win? //tester si trois caracteres allignés