This commit is contained in:
2025-12-24 16:00:53 +00:00
parent 83adbcf2f1
commit 0bf96fc948
3 changed files with 57 additions and 30 deletions
+3
View File
@@ -268,9 +268,12 @@ export const useBiscaStore = defineStore('bisca', () => {
const quitGame = () => {
if (!isGameRunning.value) return
opponentScore.value = 120
playerScore.value = 0
winner.value = 'opponent'
// Parar o jogo imediatamente
isGameRunning.value = false
isGameOver.value = true
}