Good day! I'm looking for an algorithm that, according to 1 criterion (team rating, calculated by the Elo method) can calculate and return the result of the match (of course, probabilistic). Unfortunately, Google did not help me (

PS To generate the number of heads, you can use a random number calculated by the normal distribution. For sigma you can take the difference in the strength of teams (absolute value)

  • @voipp, Try to write more detailed questions. Explain what you see the problem, what you can’t do, etc. - free_ze
  • @Free_ze wrote in more detail in the comments to the post @Nofate ♦ - voipp

2 answers 2

What is "team strength"?

In general, for such purposes, they usually use the Arpad Elo rating system . In short: when losing, the rating falls, when winning it grows. Having a rating of 2 sides, you can assess the chances of winning each side.

  • The strength of a team is its rating (according to the Elo system). And I need to simulate a match and get the result. - voipp

boolean win = myTeam.getPower ()> oppositeTeam.getPower ();

  • the result is an account - voipp