From 0824fefaa17967dbcf5930c02e63f8c26b1585cd Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 20 Nov 2020 00:14:13 +0900 Subject: [PATCH] memo --- src/modules/reversi/back.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/reversi/back.ts b/src/modules/reversi/back.ts index d4a75e0..99be3bb 100644 --- a/src/modules/reversi/back.ts +++ b/src/modules/reversi/back.ts @@ -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; // 次のターンのプレイヤーにとって最も良い手を取得