Basically I'm trying my hand at writing a simple football game in PHP. I'm struggling to think how a formula would work for teams to win games.
Lets take for example a team has 11 players each on the pitch and each player can have a maximum rank of 100 therefore a team would have a maximum of 1100xp to have a maxed out football team.
How could I do a PHP formula to determine which team would win or draw? I was thinking to do percentages for a team to win, but I was unsure how I would add a draw in to the formula.
Any help would be appreciated