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