.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #11  
Old May 27th, 2005, 01:49 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: interview with Aaron Hall

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
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #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
  #13  
Old May 27th, 2005, 02:37 PM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: interview with Aaron Hall

Quote:
aiken said:
Superb code Ed

Though, if-elif-else's are nice for simple finite state machines, they're not sufficient to write something decent. I seriously hope it will be possible to code a bayesian networks (or even implement a genetic algos!!) with this scriptining language.

/me crosses fingers
Huh?
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #14  
Old May 27th, 2005, 03:20 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: interview with Aaron Hall

Don't worry, I have no idea what Bayesian networks are either... perhaps they're something like neural networks???

Genetic algorithms = code that evolves like a living species.
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote
  #15  
Old May 27th, 2005, 03:45 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:
Don't worry, I have no idea what Bayesian networks are either... perhaps they're something like neural networks???

Genetic algorithms = code that evolves like a living species.
My limited understanding: A Bayesian network uses mass amounts of data to predict a situation's probable outcomes, and therefore determine how to behave. Similar to looking for a "law of averages" on a really big scale.

That's all I can tell you - Not being a programmer, I don't know how this is applied to game theory.

Andy
Reply With Quote
  #16  
Old May 27th, 2005, 05:36 PM
Aiken's Avatar

Aiken Aiken is offline
Major
 
Join Date: Jan 2004
Location: Taganrog, Russia
Posts: 1,087
Thanks: 0
Thanked 0 Times in 0 Posts
Aiken is on a distinguished road
Default Re: interview with Aaron Hall

Quote:
abkaiser said:That's all I can tell you - Not being a programmer, I don't know how this is applied to game theory.
Allows AI to effectively use incomplete information about its enviroment to make decisions in uncertain situations with many possible outcomes. Good for long term planning.
Drawbacks are serious requirements in computational power and need for primary accumulation of info.

Not a coder too - used it for urban development model.

More: http://www.niedermayer.ca/papers/bayesian/bayes.html
Reply With Quote
  #17  
Old May 27th, 2005, 08:18 PM
Will's Avatar

Will Will is offline
Lieutenant Colonel
 
Join Date: Mar 2001
Location: Emeryville, CA
Posts: 1,412
Thanks: 0
Thanked 0 Times in 0 Posts
Will is on a distinguished road
Default Re: Bayes Nets

Technically, bayesian nets would not be used for an AI. All they do is generate probabilities, based on known data. The AI would only come in when you make decisions based on these predicted probabilities.

I guess you could kludge together an AI that "learns" what actions to take using Bayes nets, by observing the data availible to a human player, and noting the probablilities of certain actions. This could create the interesting possibility of an AI that plays just like a particular human player. Only the AI would still not be able to generate their own strategies, only go off observed strategies.
__________________
GEEK CODE V.3.12: GCS/E d-- s: a-- C++ US+ P+ L++ E--- W+++ N+ !o? K- w-- !O M++ V? PS+ PE Y+ PGP t- 5++ X R !tv-- b+++ DI++ D+ G+ e+++ h !r*-- y?
SE4 CODE: A-- Se+++* GdY $?/++ Fr! C++* Css Sf Ai Au- M+ MpN S Ss- RV Pw- Fq-- Nd Rp+ G- Mm++ Bb@ Tcp- L+
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:47 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.