diff --git a/src/App.vue b/src/App.vue index d8358d1..78a4d0e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -162,7 +162,7 @@ function createInterval() { if (currentCoin.value.x === snake.value.cell.x && currentCoin.value.y === snake.value.cell.y) { - snake.value.length++ + snake.value.length + 10 currentCoin.value = spawnCoin() score.value++ diff --git a/src/style.css b/src/style.css index bb131d6..5bb3c8b 100644 --- a/src/style.css +++ b/src/style.css @@ -63,17 +63,4 @@ button:focus-visible { margin: 0 auto; padding: 2rem; text-align: center; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} +} \ No newline at end of file