public double runGenome(Genome genome) { if (_gameName == "2048") { return(run2048(genome)); } if (_gameName == "XOR") { _xor = new XOR(); return(_xor.calculate(genome)); } return(0f); }
public double runGenome(Genome genome) { if (_gameName == "2048") { return(run2048(genome)); } if (_gameName == "XOR") { _xor = new XOR(); return(_xor.calculate(genome)); } return(0f); }