Skip to main content
added 80 characters in body
Source Link
AbstractChaos
  • 1.3k
  • 7
  • 10

OK I believe I got this, I would start with the following.

For each position
  divide the total cost for board by number of positions left to fill.
  get best possible player for this position based on value above.
    return the highest stats unit with cost thats under the amount allowed
  remove cost of from total cost.
  set player chosen for this position.

This would mean that at every point we recheck the max cost for a player for a position, By changing the definition of best player you can manipulate how placement is done.

OK I believe I got this, I would start with the following.

For each position
  divide the total cost for board by number of positions left to fill.
  get best possible player for this position based on value above.
  remove cost of from total cost.
  set player chosen for this position.

This would mean that at every point we recheck the max cost for a player for a position, By changing the definition of best player you can manipulate how placement is done.

OK I believe I got this, I would start with the following.

For each position
  divide the total cost for board by number of positions left to fill.
  get best possible player for this position based on value above.
    return the highest stats unit with cost thats under the amount allowed
  remove cost of from total cost.
  set player chosen for this position.

This would mean that at every point we recheck the max cost for a player for a position, By changing the definition of best player you can manipulate how placement is done.

Source Link
AbstractChaos
  • 1.3k
  • 7
  • 10

OK I believe I got this, I would start with the following.

For each position
  divide the total cost for board by number of positions left to fill.
  get best possible player for this position based on value above.
  remove cost of from total cost.
  set player chosen for this position.

This would mean that at every point we recheck the max cost for a player for a position, By changing the definition of best player you can manipulate how placement is done.