第七代电脑
This commit is contained in:
parent
43d761d49a
commit
c48a15552e
@ -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++
|
||||
|
Loading…
Reference in New Issue
Block a user