WebGame.Game.GenScoreExpected C# (CSharp) 메소드

GenScoreExpected() 공개 메소드

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