This is a question for any RPG fans.
There are two players with the following statistics:
Strength - 15
Defence - 0
Agility - 5
Health - 75
Speed - 5
Strength - 5
Defence - 5
Agility - 15
Health - 50
Speed - 10
They're in a turn based battle and it's your job to figure out who's most likely to win (because you'll get lots of gold if you bet on the right person or something). Here's how the stats affect a battle:
I hope this makes sense and I wonder if anybody will actually want to do it.
- Health * 5 = Hit Points
- Player's Agility / (Player's Agility + Opponent's Agility) = Player's chance to successfully attack the Opponent
- Player's Strength - Opponent's Defence = Damage dealt (amount reduced) to Opponent's Hit Points in successful attack of the Opponent
- Player's Speed / (Player's Speed + Opponent's Speed) = Player's chance to go first at the start of a battle
- - - - - - - - - - - - - - - - - - - -
An additional note for clarity:
The battle is turn based to the effect that once one player has attempted to attack their opponent (successfully or not), it will then be the opponents turn and vice versa (the player to attack first, at the start of the battle, is decided at random according to the rule above involving the Speed attribute). Also, whether a player hits successfully on their turn or not (see the effect of the Agility stat above) is randomly generated for each turn and not the same result for all of their attacks throughout the battle (although, I'm not sure this makes a difference to the answer, but I believe it will simplify things).