fixed bugs

This commit is contained in:
AUnicornWithNoLife 2021-04-12 11:59:50 +01:00
parent 8ef19f13a1
commit 0fb12ca2e1
2 changed files with 7 additions and 3 deletions

View File

@ -27,9 +27,13 @@ function move(id)
if (winner != 0)
{
score[winner - 1]++;
if (winner != 3)
{
score[winner - 1]++;
info['score'].innerHTML = score[0] + " | " + score[1];
}
info['score'].innerHTML = score[0] + " | " + score[1];
info['go'] = "X's Go";
ptm = 1;

View File

@ -29,7 +29,7 @@ button
font-size: xx-large;
font-style: bold;
background-color: #EC4E20;
background-color: #ec5020;
}
#reset