flutter: 控制台打印棋局结束的原因
This commit is contained in:
parent
03c68cff36
commit
e08d97857b
|
@ -728,6 +728,7 @@ class Position {
|
||||||
phase = Phase.gameOver;
|
phase = Phase.gameOver;
|
||||||
gameOverReason = reason;
|
gameOverReason = reason;
|
||||||
winner = w;
|
winner = w;
|
||||||
|
print("Game over, $w win, becase of $reason");
|
||||||
}
|
}
|
||||||
|
|
||||||
void updateScore() {
|
void updateScore() {
|
||||||
|
|
Loading…
Reference in New Issue