View Single Post
  #12  
Old May 27th, 2005, 02:03 PM

abkaiser abkaiser is offline
Private
 
Join Date: Jan 2001
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
abkaiser is on a distinguished road
Default Re: interview with Aaron Hall

Quote:
Ed Kolis said:
Who says recursion wouldn't be possible? As long as he lets us define functions, couldn't we do something like this:

Code:

function plan(n) {
if n > 0 {
plan(n-1)
// plan ahead for turn now + n
}
else {
// do stuff for this turn
}
}



We'd just have to make sure not to code any infinite loops
It depends:

1) We wouldn't be using a commercial development package for this. Like you said, the AI parser/compiler would be done using tools Aaron and the dev team provide, so that functionality is up to them.

2) Would they even want to implement recursion for us, with all the implications we've both mentioned?

3) And how much power do they want to give to recoding the AI versus more limited customization? Space Empires isn't open source. I could even see someone coming up with a really whiz-bang AI mod and selling it for profit.

Andy
Reply With Quote