flutter: pieceCountInHand 初始化由 12 改为 -1

This commit is contained in:
Calcitem 2020-12-12 17:37:17 +08:00
parent 3e1dedbf00
commit a0878fd000
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class Position {
GameRecorder recorder;
Map<String, int> pieceCountInHand = {Color.black: 12, Color.white: 12};
Map<String, int> pieceCountInHand = {Color.black: -1, Color.white: -1};
Map<String, int> pieceCountOnBoard = {Color.black: 0, Color.white: 0};
int pieceCountNeedRemove = 0;