Game Development Community

Learning AI

by Michael Vanderpool · in Technical Issues · 05/28/2006 (5:36 pm) · 12 replies

Im trying to Create for Rise of Civilization a AI that learns from its prior mistakes and improves from them. Im working on ways for this to work out well, and was wondering how everyone else would go about this.

I would Have many different difficulties just in case someone wouldnt like the Idea of a learning AI, like easy, hard, etc. then would have Learning AI. The Ai every match would record it down in a text file, like its resources, Man count, etc. and the same with the players. it would then analyse the 2 files and would write another file based on the stats from the match, like it would make more houses, or Centuries, or etc... then the next match it would use the file it created to try and win. it would eventually beat the player with ease until the player changes strategy.

But, the AI would need to be preprogrammed with the rules and only the rules. then I would make out a 1st battle for it. it would then improve from that point.

give me thought on what everyone thinks...

#1
05/30/2006 (9:44 am)
#2
05/30/2006 (9:45 am)
#3
05/30/2006 (9:47 am)
#4
05/30/2006 (9:48 am)
#5
05/30/2006 (9:49 am)
#6
05/30/2006 (9:50 am)
Is this a Torque game ?

Use a optimized hybrid neuro net, The two most important things a character
needs to exhibit are.

1 An awareness of its environment
2 The ability to adapt to that environment

Easy, huh ?

You ll need to define the scope and logical mechanics for the neuro net.

Things like the inference engine and the fuzzy logic algorithms are very
important As speed always is an issuet hat willl lmitthescale.Theres

I'm unable to continue to post here because the posting system will not allow me to cut copy and paste
from word. i'ts two hard to explaine because there's no spelling checker and I'm sick of it.

sorry.

It also sayes there are 7 posts.
#7
05/31/2006 (1:23 am)
Why dont you paste to notepad then to the posting system?
#8
05/31/2006 (1:32 am)
Try turning off Smart-Quotes
#9
05/31/2006 (7:50 am)
Ok, I'll try turning off Smart-Quotes, but I had copied to notepad and it still would not work.

Thanks,
#10
05/31/2006 (8:41 am)
Sounds like a good place to use "Reinforcement Learning". Do a google search on that phrase and you will find lots of good references for how to proceed and plenty of code to work with.
#11
01/06/2007 (12:24 pm)
Areal, try using Mozilla Firefox. It will spell check what you type into text-areas. You wouldn't need Word to spell check what you type here. Here's a link,
www.mozilla.com/en-US/firefox/
#12
01/06/2007 (12:26 pm)
Areal, try using Mozilla Firefox. It will spell check what you type into text-areas. You wouldn't need Word to spell check what you type here. Here's a link,
http://www.mozilla.com/en-US/firefox/