diff --git a/assets/games/tictactoe/index.html b/assets/games/tictactoe/index.html deleted file mode 100644 index bf5cf95..0000000 --- a/assets/games/tictactoe/index.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - Tic Tac Toe - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - diff --git a/assets/games/tictactoe/script.js b/assets/games/tictactoe/script.js deleted file mode 100644 index 28f856c..0000000 --- a/assets/games/tictactoe/script.js +++ /dev/null @@ -1,10 +0,0 @@ -let board = ['', '', '', '', '', '', '', '', '']; -let currentPlayer = 'X'; - -function makeMove(index) { - if (!board[index]) { - board[index] = currentPlayer; - document.querySelectorAll('.cell')[index].textContent = currentPlayer; - currentPlayer = currentPlayer === 'X' ? 'O' : 'X'; - } -} diff --git a/assets/games/tictactoe/style.css b/assets/games/tictactoe/style.css deleted file mode 100644 index ddab837..0000000 --- a/assets/games/tictactoe/style.css +++ /dev/null @@ -1,35 +0,0 @@ -body { - background-color: black; - color: white; - font-family: Arial, sans-serif; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - margin: 0; -} - -.tic-tac-toe { - display: grid; - grid-template-rows: repeat(3, 100px); - grid-template-columns: repeat(3, 100px); - gap: 5px; - background-color: black; - border: 2px solid white; - padding: 10px; -} - -.cell { - background-color: black; - border: 2px solid white; - display: flex; - justify-content: center; - align-items: center; - font-size: 2rem; - color: white; - cursor: pointer; -} - -.cell:hover { - background-color: #444; -}