The Trek BBS statistics

Posts: 5,878,008
Members: 26,311
Currently online: 443

Retro Review: Tattoo
By: Michelle Erica Green on Oct 3

Evaluation Ordered For Lien
By: T'Bonz on Oct 2

By: T'Bonz on Oct 2

New Star Trek Beyond Pictures
By: T'Bonz on Oct 1

Star Trek Beyond Dubai Press Conference
By: T'Bonz on Sep 30

October-November 2015 Trek Conventions And Appearances
By: T'Bonz on Sep 29

The Red Shirt Diaries: The Conscience Of The King
By: T'Bonz on Sep 28

Couple Marries In Trek-themed Wedding
By: T'Bonz on Sep 28

Elba’s Star Trek Beyond Villain
By: T'Bonz on Sep 28

Star Trek Online: Help Design A Ship
By: T'Bonz on Sep 25

 The Trek BBS Math Grouping Question

 Science and Technology "Somewhere, something incredible is waiting to be known." - Carl Sagan.

 May 31 2014, 01:55 PM #1 ThunderAeroI Rear Admiral     Location: Perpetually being chased by airplanes Math Grouping Question When I normally have a math type question I post them in this forum so this may sound misplaced, but give it a shot. I am playing a video game where there are different soldiers that have different attacks / heath / etc. My army can only be so big maxed at a number X. Each soldier takes up a different amount of that army, Y. How do I figure out what the proper mix of soldiers is to maximize my attack and health without just randomly trying different configurations? __________________ No Where to be found, but everywhere you are - I'll be there looking for ways to save your life.
 June 1 2014, 06:37 PM #2 LaxScrutiny Commodore   Location: Toronto, Canada Re: Math Grouping Question First, use Excel, it is much easier, and then you can play with the numbers as much as you want. Decide for yourself how important health is vs attack. Generally I would rank 1 point of health = 1 point of damage, however that can vary with mass. Meaning a single unit with high health will continue to do max damage until dead. A group with low health will see the damage reduce as each unit is killed. Without seeing the game, it's hard to say which will be better. Most games will also rock/paper/scissors, so your choices may have a bonus against certain units. So, you will have a chart that will show: Unit; Cost; Recruit Time; Damage; Health; Total of Damage + Health; Ratio of Total:Cost Find the unit that gives the best ratio, keeping in mind your production rate (cost and time.) This will be the body of your army. Space left over fill with the next best smaller unit. All that said, bonuses against certain other units and movement speed, range, and attack speed will also factor in.
 June 1 2014, 07:01 PM #3 JarodRussell Vice Admiral Re: Math Grouping Question http://en.wikipedia.org/wiki/Knapsack_problem __________________ A movie aiming low should not be praised for hitting that target.

 Bookmarks