Is there a way of finding out the initial reinforcements?

AI discussion, ideas, and SDK help.
Post Reply
User avatar
Sophrosyne
Luxer
Posts: 18
Joined: Fri Nov 12, 2010 1:45 pm
Location: Birmingham, London

Is there a way of finding out the initial reinforcements?

Post by Sophrosyne » Thu Feb 17, 2011 9:54 am

Hi,

I would like to know the total number of reinforcements to be placed at the very start of the game. I think board.getPlayerIncome() only returns the next chunk of reinforcements to be placed (Or maybe I'm wrong). Is there a way to find it out without having to calculate it for each map type?

Martyn

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10998
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Post by dustin » Thu Feb 17, 2011 5:05 pm

I don't think there's a quick call to return this right now.

For a 6 player game, each player will start with ~= 20 * (# of countries / 42)

User avatar
Sophrosyne
Luxer
Posts: 18
Joined: Fri Nov 12, 2010 1:45 pm
Location: Birmingham, London

Post by Sophrosyne » Fri Feb 18, 2011 6:07 am

Cool, I'll give it a go, cheers Dustin.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests