fixed bugs
This commit is contained in:
parent
8ef19f13a1
commit
0fb12ca2e1
@ -27,9 +27,13 @@ function move(id)
|
|||||||
|
|
||||||
if (winner != 0)
|
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";
|
info['go'] = "X's Go";
|
||||||
|
|
||||||
ptm = 1;
|
ptm = 1;
|
||||||
|
@ -29,7 +29,7 @@ button
|
|||||||
font-size: xx-large;
|
font-size: xx-large;
|
||||||
font-style: bold;
|
font-style: bold;
|
||||||
|
|
||||||
background-color: #EC4E20;
|
background-color: #ec5020;
|
||||||
}
|
}
|
||||||
|
|
||||||
#reset
|
#reset
|
||||||
|
Loading…
Reference in New Issue
Block a user