Correctly set default value for elo member variable

This commit is contained in:
Peter Osterlund 2020-04-26 19:41:05 +02:00
parent 4e1b20e5db
commit 08ae4afea3
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ public class EngineControl {
// Reduced strength variables // Reduced strength variables
private int strength = 1000; private int strength = 1000;
private boolean limitStrength = false; // If set, overrides strength, using eloToStrength table private boolean limitStrength = false; // If set, overrides strength, using eloToStrength table
private int elo = Integer.MAX_VALUE; private int elo = 1500;
private int maxNPS = 0; private int maxNPS = 0;
private long randomSeed = 0; private long randomSeed = 0;

View File

@ -71,7 +71,7 @@ public class DroidEngineControl {
// Reduced strength variables // Reduced strength variables
private int strength = 1000; private int strength = 1000;
private boolean limitStrength = false; // If set, overrides strength, using eloToStrength table private boolean limitStrength = false; // If set, overrides strength, using eloToStrength table
private int elo = Integer.MAX_VALUE; private int elo = 1500;
private int maxNPS = 0; private int maxNPS = 0;
private long randomSeed = 0; private long randomSeed = 0;
private Random rndGen = new Random(); private Random rndGen = new Random();