mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-04-29 08:27:19 +09: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…
x
Reference in New Issue
Block a user