From 40735ce76bbe727eb9c87475d71e19506e5aad0d Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Thu, 6 Sep 2018 19:28:52 +0900 Subject: [PATCH] Fix bug (#2638) --- src/games/reversi/core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/games/reversi/core.ts b/src/games/reversi/core.ts index 9199efa09..481b5b0f7 100644 --- a/src/games/reversi/core.ts +++ b/src/games/reversi/core.ts @@ -110,7 +110,7 @@ export default class Reversi { * 白石の数 */ public get whiteCount() { - return count(BLACK, this.board); + return count(WHITE, this.board); } /**