flutter: 控制台打印棋局结束的原因

This commit is contained in:
Calcitem 2020-11-29 01:05:04 +08:00
parent 03c68cff36
commit e08d97857b
1 changed files with 1 additions and 0 deletions

View File

@ -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() {