flutter: pieceCountInHand 初始化由 12 改为 -1
This commit is contained in:
parent
3e1dedbf00
commit
a0878fd000
|
@ -49,7 +49,7 @@ class Position {
|
||||||
|
|
||||||
GameRecorder recorder;
|
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};
|
Map<String, int> pieceCountOnBoard = {Color.black: 0, Color.white: 0};
|
||||||
int pieceCountNeedRemove = 0;
|
int pieceCountNeedRemove = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue