Update code.js
This commit is contained in:
parent
8a86a90525
commit
1d2eba19fd
@ -78,8 +78,6 @@ function win()
|
||||
{
|
||||
if (board[x][1][0] == board[x][2][0])
|
||||
{
|
||||
console.log("r: " + board[x][0][0]);
|
||||
|
||||
return board[x][0][0];
|
||||
}
|
||||
}
|
||||
@ -96,8 +94,6 @@ function win()
|
||||
{
|
||||
if (board[1][y][0] == board[2][y][0])
|
||||
{
|
||||
console.log("c: " + board[0][y][0]);
|
||||
|
||||
return board[0][y][0];
|
||||
}
|
||||
}
|
||||
@ -112,8 +108,6 @@ function win()
|
||||
{
|
||||
if (board[1][1][0] == board[2][2][0])
|
||||
{
|
||||
console.log("tl br: " + board[0][0][0]);
|
||||
|
||||
return board[0][0][0];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user