Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > Math Help Forum Lounge > Math Games and Math Puzzles
Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2008, 11:08 AM
Member
 
Join Date: Sep 2007
Posts: 69
Country:
Thanks: 2
Thanked 2 Times in 2 Posts
Obsidantion is on a distinguished road
Default RPG Battle

This is a question for any RPG fans.

There are two players with the following statistics:

Player1:
Strength - 15
Defence - 0
Agility - 5
Health - 75
Speed - 5

Player2:
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:
  • 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
I hope this makes sense and I wonder if anybody will actually want to do it.

- - - - - - - - - - - - - - - - - - - -

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).

Last edited by Obsidantion; 08-25-2008 at 09:03 AM.
Reply With Quote
Advertisement
 
  #2  
Old 08-18-2008, 05:12 PM
topsquark's Avatar
Physics Maestro

 
Join Date: Jan 2006
Location: Angelica, NY
Posts: 8,417
Country:
Thanks: 642
Thanked 2,285 Times in 2,081 Posts
topsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond reputetopsquark has a reputation beyond repute
Default

Quote:
Originally Posted by Obsidantion View Post
This is a question for any RPG fans.

There are two players with the following statistics:

Player1:
Strength - 15
Defence - 0
Agility - 5
Health - 75
Speed - 5

Player2:
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:
  • 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
I hope this makes sense and I wonder if anybody will actually want to do it.
Qualitatively the second player always strikes first and has a much greater chance of inflicting damage. They both hit with the same amount of damage, so I'd bet heavily on the second one.

-Dan
__________________
Got a Physics question? Come on over to Physics Help Forum!

"I must not fear. Fear is the mind killer. Fear is the little death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone I will turn the inner eye to see its path. Where the fear has gone there will be nothing. Only I will remain." - The Litany Against Fear, "Dune" by Frank Herbert
Reply With Quote
  #3  
Old 08-18-2008, 05:44 PM
Member
 
Join Date: Sep 2007
Posts: 69
Country:
Thanks: 2
Thanked 2 Times in 2 Posts
Obsidantion is on a distinguished road
Default

Quote:
Originally Posted by topsquark View Post
Qualitatively the second player always strikes first and has a much greater chance of inflicting damage. They both hit with the same amount of damage, so I'd bet heavily on the second one.

-Dan
Thank you for your interest.
I'm pretty sure it's possible to go beyond estimation and prove which player has a greater chance of winning. They don't both hit the same amount of damage but I agree with you in that Player2 is more likely to win.
Reply With Quote
  #4  
Old 09-28-2008, 09:43 PM
Junior Member
 
Join Date: Sep 2008
Posts: 6
Country:
Thanks: 0
Thanked 0 Times in 0 Posts
Sweed is on a distinguished road
Post

Initiative:
The first player has 33% chance to go first, the second 67%.

Chance to hit:
The first player hit 25% of the time, the second player 75%.

Damage:
The first player do 10 the second player 5 HP damage.

Hit Points (HP):
First player has 375 HP and second player 250 HP.

The first player does on average 2.5 HP / round of combat. Thus it will take him 100 rounds to kill the second player.

The second player does on average 3.75 HP / round of combat. Thus it takes him 100 rounds to kill the first player.

So on average it takes them the same time to kill each other. The one thing that will make a difference is the initiative. As player two wins the initiative 67% of the times, he will win 67% of the times as well on average.
Reply With Quote
  #5  
Old 09-29-2008, 03:53 PM
Member
 
Join Date: Sep 2007
Posts: 69
Country:
Thanks: 2
Thanked 2 Times in 2 Posts
Obsidantion is on a distinguished road
Default

Quote:
Originally Posted by Sweed View Post
The one thing that will make a difference is the initiative. As player two wins the initiative 67% of the times, he will win 67% of the times as well on average.
Correct! You win lots of gold for betting on the winner.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 02:08 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2008 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.