public double GenScoreExpected(int playerRating, int opponentRating) { return 1 / (System.Math.Pow(10, ((opponentRating - playerRating) / 1500f)) + 1); }