aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/avalanche/nim.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/avalanche/nim.cpp b/engines/avalanche/nim.cpp
index fad0bb71e5..cae890fbd3 100644
--- a/engines/avalanche/nim.cpp
+++ b/engines/avalanche/nim.cpp
@@ -198,7 +198,14 @@ void Nim::board() {
}
void Nim::startMove() {
- warning("STUB: Nim::startMove()");
+ _turns++;
+ Common::String turnsStr = Common::String::format("%d", _turns);
+ int y = 55 + _turns * 10;
+ _dogfoodsTurn = !_dogfoodsTurn;
+ chalk(433, y, turnsStr);
+ chalk(493, y, kNames[_dogfoodsTurn]);
+ for (int i = 0; i < 3; i++)
+ _old[i] = _stones[i];
}
void Nim::showChanges() {