diff --git a/public/css/ticTacToe.css b/public/css/ticTacToe.css new file mode 100644 index 0000000..36eff16 --- /dev/null +++ b/public/css/ticTacToe.css @@ -0,0 +1,13 @@ +h1 { + text-align: center; + color: purple; +} + +.box { + border: 1px solid black; + height: 150px; +} + +#board { + margin-top: 10px; +} \ No newline at end of file diff --git a/public/js/ticTacToe.js b/public/js/ticTacToe.js new file mode 100644 index 0000000..0ab53f7 --- /dev/null +++ b/public/js/ticTacToe.js @@ -0,0 +1,8 @@ +const counter = 0 +const playerTurn = 'X' +const Xmoves = [] +const Omoves = [] + +const boardGame = document.querySelector('.board') +const resetButton = document.querySelector('#reset') + diff --git a/public/ticTacToe.html b/public/ticTacToe.html new file mode 100644 index 0000000..005d307 --- /dev/null +++ b/public/ticTacToe.html @@ -0,0 +1,33 @@ + + + + + + + TicTacToe + + +
+

TicTacToe

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file