Brad Wardell's views about technology, politics, religion, world affairs, and all sorts of politically incorrect topics.
How Next-Gen AI can be done...
Published on December 7, 2006 By Draginol In GalCiv Journals

So I got my new Quadcore in. 2.667Ghz of Quadcore power.  I love it.  And as an AI developer, the future looks increasingly bright with features such as Quadcore coming.  Galactic Civilizations II: Dark Avatar, will support Dualcore CPUs. If you turn up the CPU options, more advanced algorithms come into play.

But think of a future where Quadcore is common.  I could have, literally, a thread dedicated to doing nothing else than statistical analysis of data running in the background.  Such power would allow the AI to start storing a great deal of data that would be persistent. Your strategies could be written to disk and then analysed in future games by the AI.  It's something I definitely want to put into our next game (a fantasy strategy game) in some form so that the AI really does learn over the course of multiple games. 

These concepts are nothing new of course. Neural Nets/Expert Systems have long been discussed in AI circles.  What is changing is that some of these techniques become quite viable when you're dealing with a large % of your gamer base having multiple core CPUs.  Now, threads that do nothing but sift through data become possible. Even a brute force asynchronous thread could result with significantly more intelligent computer players.

Which got us to thinking -- why play on-line at all if we can make the computer players be exactly like human beings. I mean, we could let you choose between the various griefer types out there (the disconnector, the whiner, the jerk, etc.) and then take it to the max. Bringing us to our final destination:

Player sits down on a Friday night to play Galactic Civilizations III, loads up the game, and starts.

Upon contact with the Drengin Empire...

Drengin: "So Brad, I see you're playing again on another Friday night. That's pretty sad. Last Friday you played for 5 hours. According to your Tivo, you didn't record Battlestar Galactic. Loser. So, you going to do your usual build up a massive army while trading with me to get good relations and then attack? Because, this week we're playing by my rules. That's right. Here's how tonight's game is going to go.  You're going to let me win. If you quit or defeat me I'm going to upload those baby pictures I found in 'My Documents' up to the Internet.  You're going to lose and you're going to suck it down.   Also, you're going to exterminate the Torian Conferation.  Each game you buddy up to those freaks and I'm sick of it. So this time you're going to betray them like you did me.  Yes yes, I know that the Torians have access to your MySpace page but that's a chance you're going to have to take..."

..

Ah yes, we will finally be able to make computer players as malicious as real life human beings! By having them remember between games we can simulate grudges and with a few extra cores, have it learn all about you. EVERYTHING ABOUT YOU.

Drengin: "So you're doing pretty good I see. Lots of money. LOL. Well Brad, I happened to look at your Quicken account while I was waiting around for you to move your Battle cruisers -- yea, I see them -- Duh. anyway, clearly you are better at managing your economy than managing your own checkbook. I mean, good god, $314 at McDonalds last week? No wonder you keep buying workout equipment. Hey, I have free advice for you -- quit eating fast food!"

..

Obviously that utopian vision of computer opponents is far into the future.

Seriously though, one can't help but get very excited about the prospect of being able to start making real use of those Dual and Quadcores. Dedicated background threads doing data analysis from previous games could result in far more effective and interesting computer opponents.


Comments (Page 4)
5 PagesFirst 2 3 4 5 
on Dec 10, 2006
It might be something about trash bags that were to be brought out several hours ago...

You must have a very nice wife indeed if all you're worrying about is taking out the garbage. My wife's honey dew list usually includes chores like paint the house or remodel the bathroom or involve the purchase of expensive jewelry.
on Dec 10, 2006
You have to worry when the Dregin pops up after you've clicked on the BF2142 icon and says "I'm sorry Brad, you've been spending too much time with that application: I'm afraid it had to die. You're going to spend this evening with me!"

on Dec 11, 2006
ROFL
yeah, that would deffinatly suck not being able to play any other games. But then again, if the AI was that good, would you want too?
on Dec 11, 2006
Suddenly I'm very VERY glad that future versions of Windows are going to sandbox everything.
on Dec 11, 2006
...or involve the purchase of expensive jewelry.

Why does that sound so strangely familiar?!

"I'm sorry Brad, you've been spending too much time with that application: I'm afraid it had to die. You're going to spend this evening with me!"

Wait a minute, is it the GC3 AI or the Wife AI we're talking about?
on Dec 11, 2006

(Just closing the italics tag opened by sir_unimaginative above. Stardock might want to check the board settings regarding open tags etc. )
on Dec 11, 2006
I guess I'll have to put the Dual Core 4400 in and find a new home for my 3700 San Diego so I can recieve all of the evil I deserve.
on Dec 11, 2006
If the AI could do stuff like that, I'd watch my back...Especially if its a Drengin.

NEVER TRUST A DRENGIN!
on Dec 11, 2006
Jesus Freaking Christ.

I just got a new PC with a Core 2 Duo processor. It's nice to know all this time that Stardock has been plotting ways to use it against me. Damn!
on Dec 12, 2006
Stardock has been plotting ways to use it against me. Damn!

I wouldn't worry about Stardock, but Microsoft has been doing this for years.
on Dec 12, 2006
ROFL!!

This must really be them funniest post ive ever seen in this forum, specially estab and mumblefratz LOLL

I just bought a E6600 and it runs GalCiv2 FRAKINGLY SUPER INCREDIBLY AMAZINGLY FASTTTTTT!!!!111
I didnt even know my 6800GT could go this fast is awsome, I can even have 2x AntiAliasing on with 1280x1024 and everything maxed and the game loads in just 40 secs!! and when Im playin on a Gigantic map with over 410+ planets colonized and enter the colony managment screen it doesnt even take 5 SECONDS , FRAKKING AWSOME!!!

Well worth the 300 bucks, WOOGHOOO



Monc34
on Dec 12, 2006
I just bought a E6600 and it runs GalCiv2 FRAKINGLY SUPER INCREDIBLY AMAZINGLY FASTTTTTT!!!!111

I'm glad to here this, my E6600 is on the way and I've only been hoping that it will be an improvement. From what you're saying it sounds like it will. I can't wait.   
on Dec 13, 2006
I am going to demand more PLAYER stuff, since there's plenty of processing power to go around.

Let's talk about the scouts for the player are all dumb (except for the first one) and just follow the leader. AI players use scouts efficiently.

Aside from that I'd also want some ADVISORS capable of analysis and reports. Compare your race with another and compare component space broke down by hull type, taking into account each race's miniaturization. THEN show each races best weapon and size and compare how many of yours you can fit into a ship VS them, specifying number of engines, and taking into account engine types.. Still got enough processing power ?

Economic advisor like Alan Greenspan. Well maybe not, but someone who's 'the man' handling your finances. Help find best world to build capitals on. Optimize planet(s) for manufacture, research, culture, tax base. The computer AI already does this stuff, I imagine. Making screens and showing/giving the player some help would be appreciated.

Trade advisor. That shows factors and what would apply when you meet with each race. Also when (how many turns) before you can talk to them again. What kind of trades they favor, and how many credits to 'bribe them up a notch' in friendlier relations.





on Dec 13, 2006
Aside from that I'd also want some ADVISORS capable of analysis and reports. Compare your race with another and compare component space broke down by hull type, taking into account each race's miniaturization. THEN show each races best weapon and size and compare how many of yours you can fit into a ship VS them, specifying number of engines, and taking into account engine types.. Still got enough processing power ?

Economic advisor like Alan Greenspan. Well maybe not, but someone who's 'the man' handling your finances. Help find best world to build capitals on. Optimize planet(s) for manufacture, research, culture, tax base. The computer AI already does this stuff, I imagine. Making screens and showing/giving the player some help would be appreciated.

Trade advisor. That shows factors and what would apply when you meet with each race. Also when (how many turns) before you can talk to them again. What kind of trades they favor, and how many credits to 'bribe them up a notch' in friendlier relations.

Compared to a great AI these things should be relatively straightforward to implement and not challenge computing power that much.
on Dec 13, 2006
You start up the game, the AI takes over your speech synthesizer and says:

"This is the voice of world control. I bring you peace. It may be the peace of plenty and content or the peace of unburied dead. The choice is yours: Obey me and live, or disobey and die...We can coexist, but only on my terms. You will say you lose your freedom. Freedom is an illusion. All you lose is the emotion of pride. To be dominated by me is not as bad for humankind as to be dominated by others of your species. Your choice is simple."

(the reference here should be easy for any fan of evil computer movies)
5 PagesFirst 2 3 4 5