mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2025-12-08 07:11:32 +01:00
Correctly set default value for elo member variable
This commit is contained in:
@@ -74,7 +74,7 @@ public class EngineControl {
|
||||
// Reduced strength variables
|
||||
private int strength = 1000;
|
||||
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 long randomSeed = 0;
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ public class DroidEngineControl {
|
||||
// Reduced strength variables
|
||||
private int strength = 1000;
|
||||
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 long randomSeed = 0;
|
||||
private Random rndGen = new Random();
|
||||
|
||||
Reference in New Issue
Block a user