fixed merge conflict
This commit is contained in:
22
src/App.vue
22
src/App.vue
@@ -169,17 +169,10 @@ function createInterval() {
|
||||
}
|
||||
|
||||
|
||||
<<<<<<< HEAD
|
||||
if (currentCoin.value.x === snake.value.cell.x && currentCoin.value.y === snake.value.cell.y) {
|
||||
snake.value.length++
|
||||
currentCoin.value = spawnCoin()
|
||||
score.value++
|
||||
=======
|
||||
if (currentCoin.value.x === snake.value.cell.x && currentCoin.value.y === snake.value.cell.y) {
|
||||
snake.value.length++
|
||||
currentCoin.value = spawnCoin()
|
||||
score.value++
|
||||
>>>>>>> 61ad940 (scoreboard is implemented in the frontend)
|
||||
|
||||
if (currentInterval) {
|
||||
clearInterval(currentInterval)
|
||||
@@ -308,9 +301,6 @@ window.addEventListener('keydown', keydown)
|
||||
width: 10px;
|
||||
overflow: hidden;
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
</style>
|
||||
=======
|
||||
|
||||
main {
|
||||
display: flex;
|
||||
@@ -340,10 +330,6 @@ main {
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
</style>
|
||||
>>>>>>> bf4a773 (added basic scoreboard for now)
|
||||
=======
|
||||
|
||||
.scoreboard-username {
|
||||
font-weight: 600;
|
||||
@@ -354,9 +340,5 @@ input {
|
||||
padding: 5px;
|
||||
width: 100%;
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
</style>
|
||||
>>>>>>> 61ad940 (scoreboard is implemented in the frontend)
|
||||
=======
|
||||
</style>
|
||||
>>>>>>> 20fbb60 (fixed snake length)
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user