}
view.init(model);
+
gameManager.getPlayer(0).view = view.p0;
gameManager.getPlayer(1).view = view.p1;
public void gameTurn(int turn) {
// System.err.println("Starting turn " + turn);
+ view.startTurn();
+
boolean disqual = false;
boolean victory = false;
boolean exhausted = false;
player.execute();
}
+ // SDK @#%^&! arbitrary sequence point: last input < first output
+
for (Player player : gameManager.getActivePlayers()) {
Model.Player p = player.model;
}
else if (stones > 0) {
player.view.animateStones(stones);
+ player.view.updateStoneCounter();
}
}
catch (InvalidAction e) {