第七代电脑

This commit is contained in:
icezhb 2024-12-29 13:17:05 +08:00
parent 43d761d49a
commit c48a15552e

View File

@ -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++