|
-
Jul 4th, 2006, 10:10 PM
#1
Thread Starter
New Member
formula for a game
i'm looking to make a little program that'll convert baseball player attributes into ratings for a baseball game and what i'm basically having a problem with is that i'm determining the player's power by dividing AB's (vs LHP and RHP) by HR's (also vs LHP and RHP). so 60 AB's / 6 HR's would be every 10 AB's, he hits a homerun. but the problem i'm having is the lower that number is, the more often he hits homeruns. the higher the power rating, the better. so they're opposite of each other and i'm not sure how to convert the AB/HR number to the POWER rating. it'll take some tweaking to get the numbers to convert to what i want but all i need is some sort of base formula or something that'll help me out.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|