public double expectedScore(Elo enemy) { double expected; int ratingDifference = rating - enemy.rating; expected = 1 / (1 + Math.Pow(10.0, (ratingDifference) /400.0)); return 1; }
public void Compete(Elo winner, Elo loser) { double winnerExpectedScore = winner.expectedScore(loser); double loserExpectedScore = loser.expectedScore(winner); }
public Arena(Elo playerOne, Elo playerTwo) { this.playerOne = playerOne; this.playerTwo = playerTwo; kValue = 400; }