From bc3e50420db123e4567e5535bb4c94ee78711f65 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 16 Mar 2018 22:23:53 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=88=E3=82=8A=E8=89=AF=E3=81=84=E9=87=8D?= =?UTF-8?q?=E3=81=BF=E4=BB=98=E3=81=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/othello/ai/back.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/othello/ai/back.ts b/src/common/othello/ai/back.ts index 61dde52d13..55c77e6b34 100644 --- a/src/common/othello/ai/back.ts +++ b/src/common/othello/ai/back.ts @@ -135,7 +135,7 @@ function onGameStarted(g) { if (get(x - 1, y ) == 'null') count++; if (get(x - 1, y - 1) == 'null') count++; //return Math.pow(count, 3); - return count >= 5 ? 1 : 0; + return count >= 4 ? 1 : 0; }); botColor = game.user1_id == id && game.black == 1 || game.user2_id == id && game.black == 2;