This commit is contained in:
Immanuel Alvaro Bhirawa
2023-05-01 14:24:43 +10:00
3 changed files with 370 additions and 3 deletions

View File

@@ -422,8 +422,6 @@ public class State {
if (player.canPlay(this)) moveLeft = true;
}
}
return !resourcesLeft || !moveLeft;
}
@@ -802,6 +800,11 @@ public class State {
// endregion
// region String conversion
/**
* Convert board to stateString format string
* @return String stateString
*/
@Override
public String toString() {
String str = "a " + boardHeight + " " + getNumPlayers() + "; c " + getCurrentPlayerID() + " " + getCurrentPhase() + "; ";