This commit is contained in:
AUnicornWithNoLife 2021-04-12 09:47:25 +01:00
parent 087f7c32ef
commit d3913a0b97
2 changed files with 9 additions and 6 deletions

View File

@ -121,7 +121,7 @@ function win()
{ {
if (board[1][1][0] == board[2][2][0]) if (board[1][1][0] == board[2][2][0])
{ {
console.log("tr bl: " + board[0][0][0]); console.log("tl br: " + board[0][0][0]);
return board[0][0][0]; return board[0][0][0];
} }
@ -136,7 +136,7 @@ function win()
{ {
if (board[1][1][0] == board[2][0][0]) if (board[1][1][0] == board[2][0][0])
{ {
console.log("tl br: " + board[0][2][0]); console.log("tr bl: " + board[0][2][0]);
return board[0][2][0]; return board[0][2][0];
} }

View File

@ -1,17 +1,20 @@
#board tr #board tr
{ {
height: 50px; height: 100px;
} }
#board tr th #board tr th
{ {
width: 50px; width: 100px;
} }
button button
{ {
height: 40px; height: 75px;
width: 40px; width: 75px;
font-size: xx-large;
font-style: bold;
} }
* *