reset
This commit is contained in:
parent
3253184778
commit
087f7c32ef
10
src/code.js
10
src/code.js
@ -148,5 +148,13 @@ function win()
|
|||||||
|
|
||||||
function reset()
|
function reset()
|
||||||
{
|
{
|
||||||
|
var x;
|
||||||
|
for (x = 0; x >= 2; x++)
|
||||||
|
{
|
||||||
|
var y;
|
||||||
|
for (y = 0; y >= 2; y++)
|
||||||
|
{
|
||||||
|
board[x][y][1].innerHTML = " ";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user