From c48a15552ed5dcdf2f96c78abbdd8b59de51ceb8 Mon Sep 17 00:00:00 2001 From: icezhb <860435387@qq.com> Date: Sun, 29 Dec 2024 13:17:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=83=E4=BB=A3=E7=94=B5=E8=84=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 738809f..9357a5f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -605,7 +605,6 @@ export default { this.board[row][col] = player let consecutive = 1 - let space = false let blocked = 0 // 正向检查 @@ -619,7 +618,6 @@ export default { if (this.board[newRow][newCol] === player) { consecutive++ } else if (this.board[newRow][newCol] === 0) { - space = true break } else { blocked++ @@ -638,7 +636,6 @@ export default { if (this.board[newRow][newCol] === player) { consecutive++ } else if (this.board[newRow][newCol] === 0) { - space = true break } else { blocked++