This commit is contained in:
syuilo 2020-11-20 00:14:13 +09:00 committed by GitHub
parent d3c719034b
commit 0824fefaa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -364,6 +364,7 @@ class Session {
let a = alpha;
let b = beta;
// TODO: 残りターン数というよりも「空いているマスが12以下」の場合に完全読みさせる
const nextDepth = (this.strength >= 4) && ((this.maxTurn - this.currentTurn) <= 12) ? Infinity : depth + 1;
// 次のターンのプレイヤーにとって最も良い手を取得