mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 13:17:59 +00:00
Update back.ts
This commit is contained in:
parent
a50f219e57
commit
8c9ba98dcf
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue