Update back.ts

This commit is contained in:
syuilo 2020-11-19 20:11:00 +09:00 committed by GitHub
parent a50f219e57
commit 8c9ba98dcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,7 +270,7 @@ class Session {
const stone = this.o.board[i]; const stone = this.o.board[i];
if (stone === this.botColor) { if (stone === this.botColor) {
// TODO: 価値のあるマスに設置されている自分の石に縦か横に接するマスは価値があると判断する // TODO: 確定石を考慮する
score += weight; score += weight;
} else if (stone !== null) { } else if (stone !== null) {
score -= weight; score -= weight;