mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +01:00
Correctly set default value for elo member variable
This commit is contained in:
parent
4e1b20e5db
commit
08ae4afea3
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user