File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
engine/core/src/main/java/com/codingame/gameengine/core Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ abstract public class GameManager<T extends AbstractPlayer> {
3535 private static final int VIEW_DATA_TOTAL_HARD_QUOTA = 1024 * 1024 ;
3636 private static final int GAME_SUMMARY_TOTAL_HARD_QUOTA = 512 * 1024 ;
3737 private static final int GAME_SUMMARY_PER_TURN_HARD_QUOTA = 800 ;
38- private static final int GAME_TURN_SOFT_QUOTA = 200 ;
3938 private static final int GAME_DURATION_HARD_QUOTA = 30_000 ;
4039 private static final int GAME_DURATION_SOFT_QUOTA = 25_000 ;
4140 private static final int MAX_TURN_TIME = GAME_DURATION_SOFT_QUOTA ;
@@ -397,8 +396,6 @@ public boolean isGameEnd() {
397396 public void setMaxTurns (int maxTurns ) throws IllegalArgumentException {
398397 if (maxTurns <= 0 ) {
399398 throw new IllegalArgumentException ("Invalid maximum number of turns" );
400- } else if (maxTurns > GAME_TURN_SOFT_QUOTA ) {
401- log .warn ("The maximum number of turns is very high, please try to stay under 200 turns." );
402399 }
403400 this .maxTurns = maxTurns ;
404401 }
You can’t perform that action at this time.
0 commit comments