Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
PC Games (Games)

Most Impressive Game AI? 398

togelius asks: "I have the feeling that when developers make the effort to put really sophisticated AI into a game, gamers frequently just don't notice (see e.g. Forza). Conversely, games that are lauded for their fantastic AI are sometimes based on very simple algorithms (e.g. Halo 1). For someone who wants to apply AI to games, it is very interesting to know what AI is really appreciated. What is the most impressive game AI you have come across? Have you ever encountered a situation where it really felt like the computer-controlled opponents were really thinking?"
This discussion has been archived. No new comments can be posted.

Most Impressive Game AI?

Comments Filter:
  • no (Score:5, Funny)

    by flynt ( 248848 ) on Saturday March 31, 2007 @02:48PM (#18557455)
    Have you ever encountered a situation where it really felt like the computer-controlled opponents were really thinking?

    No, but I've rarely encountered games where it feels like my human opponents are really thinking, either.
    • by Brian_Ellenberger ( 308720 ) on Saturday March 31, 2007 @03:29PM (#18557831)
      Galactic Civilization I and II (see: http://www.galciv2.com/ [galciv2.com]) is one of the few games I have ever played where it seemed like the computer was thinking. If you have never played GalCiv, and you like strategy, I highly recommend picking them up. I consider them to be superior even to the Civilization series. Brad Wardell prides himself on the AI, and it definitely shows. The computer is very difficult to beat and does not cheat. It actually responds in a logical manner, which makes GalCiv go from just being a number-crunching exercise to an actual strategy game. For example, when making some "aggressive" moves towards an enemy (moving some attack ships to an "ally" to wipe them out) I've actually had the game pop up a message from my ally (before ever entering his space) saying something to the effect of "I used to play video games when I was a kid, and when I did I used to build my forces up and send them to sneak attack an opponent. Well I am no video game." Other things like the fact that if another civilization is dependent on you for a large amount of trade income, they won't just randomly attack you because it would hurt them too.

      • by Tablizer ( 95088 ) on Saturday March 31, 2007 @04:50PM (#18558685) Journal
        Other things like the fact that if another civilization is dependent on you for a large amount of trade income, they won't just randomly attack you because it would hurt them too.

        That AI is smarter than most Earth leaders.
                   
      • by Kingrames ( 858416 ) on Saturday March 31, 2007 @04:51PM (#18558701)
        90% of the time when it seems like the computer is smart, it's more because the game and the AI merge well together.

        If the game has lots of bugs, bugs you might not normally see, the AI will suffer.

        Oftentimes the A.I. of the game doesn't make the computer smarter. Making a game that's smooth and supports a good A.I., however, will make a much bigger difference.

        With a game like chess, the A.I. program is huge and immensely sophisticated.
        With a game like tic-tac-toe, you can make an A.I. that can't be beaten, simply because the game is simple and allows for that.

        It's important to keep in mind that the actual A.I. algorithm can only accomplish so much. Putting Deep Blue into the seat of your tic-tac-toe opponent gives you the same result as the program you wrote that doesn't break a page.

        That being said, a few more examples to look for for good A.I. that merges well with its game would be Kohan and Kohan 2. The AI in that game blew me away.

        For an older game, check out emperor of the fading suns (you can get the full game for free) http://free-game-downloads.mosw.com/abandonware/pc /strategy_games/games_e_f/emperor_of_the_fading_su ns.html [mosw.com]
        I still have fun playing this one. It's interesting how the computer will actually send you money for nothing in the interest of making you like them more. There are a few other subtle details.

        Incidentally I've heard that Gal Civ is based off of EFS, so if you haven't had a chance to check it out, enjoy.
      • What is AI? (Score:2, Insightful)

        That's interesting, but is it AI?

        It ain't AI until I can ask it "Do you like this poem" and it gives a meaningful answer.

        The game stuff seems more like a lot of parameters put in anticipated by a human author.

        • Re: (Score:3, Insightful)

          Well no, of course nothing in any existing game (or anything existing period I guess) is close to true artificial intelligence in the larger sense of the term. For the context of gaming I think it's fair to say everyone knows we're talking about creating the illusion of intelligence within the bounds of gameplay.
  • It doesn't cheat, and manages to beat the cr*p out of you on the higher level (where AI economies aren't penalized ... to make the game easier).
    • by daeg ( 828071 )
      Ditto. I wish there were cheats so you could see just how the hell they manage to do so well. It's crazy!
    • Galciv 2 certainly gets a huge vote from me, because the AI did beat the crap out of me, repeatedly. However, the AI does have the advantage of being able to accurately micromanage every planet every turn to produce the best combination of production, research, and cashflow.

      I'm also very impressed with the AI in the original galactic civilizations. It does cheat at the higher levels, but up until that point (I think normal mode doesn't cheat either way) it's very impressive and it really does feel like the AI is thinking. More impressive is the fact that each major race has its own AI: not customized by arguments in the race, but specific, independent C++ code telling them what to do, written from scratch.

    • by Edmund Blackadder ( 559735 ) on Saturday March 31, 2007 @03:28PM (#18557819)
      I agree, GalCiv II certainly has a very tough AI.

      Another very good one is freeciv. Freeciv may look much cheesier than the regular civilizations but in AI it surpasses it by far. I suppose it helps that it is developed by players of the game.
      • Re: (Score:3, Insightful)

        by bcmm ( 768152 )
        I've seen some fun glitches though. The best was persuading an AI player with no capitol city to give ALL of his cities in return for a lot of technology.
    • by ditoa ( 952847 ) on Saturday March 31, 2007 @04:38PM (#18558507)
      I just went to the GalCiv2 website to have a read and saw this

      No CD copy protection. Once you install, you never need your CD again. You can even use the included serial # to re-download the entire game from us years from now.

      That is very refreshing to see these days. I have given up on most PC games these days because of their copy protection systems.
  • ...shows more brains that most ego shooter AI opponents. (AND it does not cheat.)
  • Come off as cheap (Score:5, Interesting)

    by Romancer ( 19668 ) <{romancer} {at} {deathsdoor.com}> on Saturday March 31, 2007 @02:54PM (#18557515) Journal
    A lot of AI that is used in games today can come off as cheap since the computer can think and compare much faster than a human player. Imagine fighting an opponent that can react 10X faster than you.

    Another way to look at it is if you think that the AI is learning patterns and adjusting for tactics.
    That's been played out in many genres, the most recent to come to mind is the Stargate SG1 episode where a character must face a situation that adapts to his efforts and becomes impossible to beat since the game can react faster than he can and has a perfect memory.

    It's a ballance that game AI must match, playability and difficulty.
    • Re: (Score:3, Insightful)

      by Romancer ( 19668 )
      That should have been RE-Playability. as in how many times you can beat the game and still pick it up a month later and be challenged by the new situations.
    • Re: (Score:3, Informative)

      by CastrTroy ( 595695 )
      Games have gotten a lot better. I remember in the original Mortal Kombat, you could get to the dual-character matches simply by picking scorpion and pushing back,back,punch for the harpoon, followed by down+punch for uppercut continuously for the entire fight. Games have gotten a lot better at not letting you do the same thing over and over again. However, I have yet to find a hockey game that doesn't have a "trick" that lets you score about 30 points in a game. the trick seems to change from year to year
    • by mgiuca ( 1040724 ) on Saturday March 31, 2007 @03:26PM (#18557805)
      That's why the "best" game AI isn't necessarily the smartest or most responsive - it's the most human.

      Writing an AI that makes the occasional "human error", or responds in a reasonable time is harder than writing the "best AI possible", but makes for a more believable (and of course, enjoyable (since who likes getting beaten all the time)) game experience.
      • Re: (Score:3, Interesting)

        by Romancer ( 19668 )
        Exactly.

        The most human AI would see patterns and adapt. The learning also plays a role, since just randomly playing out pre-programmed moves till one works leads to repetitive gameplay. The AI must have a very low level of options to piece together so it can make larger combinations that turn into tactics. The smaller each action is and the more actions it has to work with will let it find the best action. But that still doesn't mean that it has learned anything if it starts over with each situation. It has
  • Fact or fable? (Score:5, Interesting)

    by lawpoop ( 604919 ) on Saturday March 31, 2007 @02:56PM (#18557531) Homepage Journal
    When I was contemplating learning video game programming, I was reading a guide that told you first to program a pong clone, and then a pac-man clone. Why pac-man? It teaches you AI. The ghost behavior is actually fairly complex. One ghost wanders randomly, another tries to get on the opposite side of the board from wherever pac-man is. The other two form a hunting pair: one tries to cut off your escape while the other goes for the kill.

    I never thought that the ghosts would be so complex!
    • Re:Fact or fable? (Score:5, Informative)

      by EGSonikku ( 519478 ) <petersen DOT mobile AT gmail DOT com> on Saturday March 31, 2007 @03:03PM (#18557595)
      And they aren't...at least not until Ms. Pacman. In the original Pac Man the Ghosts followed very predictable patterns which they never changed, and it is quite common to simply memorize these patterns and play the game with your eyes closed.

      http://www.mameworld.net/pacman/patterns.html [mameworld.net]
      • Re:Fact or fable? (Score:5, Insightful)

        by Threni ( 635302 ) on Saturday March 31, 2007 @03:29PM (#18557833)
        To be fair, the fact that patterns work simply means the AI is deterministic. Pacman could have extremely complicated AI but if there's no learning from a players past, random elements etc you're always going to be able to learn to find a patten which works.

        To be honest, I've always thought that AI in computer games sucked. Games are usually made hard by having the bad guys have better fire power, shields, energy etc than you, or having loads of them against one player. It would have been a laugh, for example, to have a doom style game with one player against one computer bad guy, but have him be as smart as a human. Thankfully, online multiplayer games mean you are no longer restricted to whatever crap AI system the programmers manage to string together, although the problem has now shifted to dealing with people cheat - a problem which games programmers show no signs of being any less inept at dealing with than with AI.

      • by aj50 ( 789101 )
        Those are all set patterns which you can take which take into account the AI of the ghosts and should allow you to finish levels repeatably.

        Some information on how the ghosts move can be found here: http://www.mameworld.net/pacman/basics.htm [mameworld.net]
      • Re:Fact or fable? (Score:5, Informative)

        by lawpoop ( 604919 ) on Saturday March 31, 2007 @04:22PM (#18558359) Homepage Journal
        This post [stanford.edu] seems to contradict your information:

        "AI : We wanted to integrate in our game the original AI behavior of the ghosts (those that were in the original Pacman game). Without AI, the game was not interesting to play, since a random behavior is too simple to play. Each ghost has its own personality: Shadow is the red ghost and it chases Pacman all the time, using a straight forward tracking algorithm. Speedy is the pink ghost. It is very fast but moves in a random manner. Bashful is the blue ghost: it is shy at the beginning and escapes from pacman all the time, but if Pacman approaches him to much, then it is not shy anymore and begins to chase him (Pacman is then chased by two ghosts at the same time...). Pokey is the orange ghost and is slow and moves in a random manner. "

        Not as complex as the story that I read, but apparently they don't follow a pre-planned course.
    • by FuriousBalancing ( 903038 ) on Saturday March 31, 2007 @03:13PM (#18557677)
      Clever girl.
  • by Brandybuck ( 704397 ) on Saturday March 31, 2007 @02:57PM (#18557537) Homepage Journal
    Civilization III. It's uncanny how it makes you think the game is outright cheating.
    • by Pyrrhic Diarrhea ( 1061530 ) on Saturday March 31, 2007 @03:18PM (#18557735)
      That's because it *is* cheating. The hole in my wall next to my computer can attest to this well established fact. :)
    • Re: (Score:2, Interesting)

      by Taelron ( 1046946 )
      All of the Sid Meirs Civilization games cheat. To prove it, get one of the trainer and save game editors. Save the game each round and look at the the AI players citys and units. They will produce two units at once and instantly without spending money to "buy" them. The cities dont suffer ill effects of to many troops or to long of a war. The higher the level you set the game at the more the AI cheats.
  • by Zarhan ( 415465 ) on Saturday March 31, 2007 @02:58PM (#18557545)
    Well, one of the greatest experiences (And still is), AI wise, is Stardocks XXXX-type space strategy game, Galactic Civilizations 2 [galciv2.com]. I especially like, when on easier levels, you do something, and the AI race sends a message "It seems that you are making a massive buildup for war. However, with this difficulty level, I pretend not no notice it until you actually make your strike." or something to that effect.
  • by kinglink ( 195330 ) on Saturday March 31, 2007 @02:59PM (#18557553)
    The Best AIs I've found are in some games like Yu-gi-oh the card game I'm currently working on nightmare troubadour and most of the opponents I've played always make a "great" move. On the other hand there's a couple opponents who are dumb as bricks, yet these enemies are suppose to be dumb as bricks (they are first time players in the story) And it's amazing how poorly they play (the play "well" for stupid AI, but they make bonehead moves that a new player can easily capitialize on. The player feels like each player has a different style, not just a different deck, and that makes for a much better game. (this is coming from a 25 year old guy in the game business).

    The reason it's great is that there's simple rules to the game that the AI can know. There's been one point in the game where the AI got confused mainly because I blocked her in with a couple traps, but overall the Ai's abilities in the game are outstanding.

    The important think to know about AI in games is it's not "AI". It's scripts or code that simulates scripts. There's no neural nets or anything else because we can't get the power for a neural net in an active game. In chess we can but then chess no longer is fun unless we tone down the "intellegence".

    Some other great AIs are Gears of War (On insane they do great flanking maneuvers and such) Ghost recon (they really seem to know how to take cover and make it a challenge for the player to take them out. however the friendly AI leaves.... alot to be desired), Oblivion (watching random people walk around is pretty impressive, it helped build up that game.) and others, but there's none that make me think I'm fighting a real person.

    There is a push to create truer "AIs" in games, Gran turismo created a way to train Drivers, Forza 2 is improving on it's drivtar system, Virtua fighter 4 had a way to teach an AI fighter, which was cool and indepth. But these are all "Scripts" taken from player experiences, not exactly AI. There's other games working on "true AI" but even then it's still toned down because we don't have the tools to make the driver "think" yet. It's just rail following and teaching the computer how to follow rails or when to break away from them.

    I wouldn't say the molyeniux's games had great AI but they have good AI that at least learns a bit. Yet they feel like it's all you telling the game what to do, and it trying to figure out what you want it to do (and it fails) where as the Sims has interesting AI, but never feels real (mainly because the game never feels real).

    So overall if you want to see good AI, look at simple games, expecting full 3d world simulations to have great ai is still a long way off but it's slowly coming. However this push for "graphics graphics graphics" won't help AI in the long run, but hopefully in a couple generations we stop worrying about graphics and work on AI and physics which seem to be more beneficial to the player then higher polycounts.
    • Re: (Score:3, Insightful)

      by pescadero ( 1074454 )
      The important think to know about AI in games is it's not "AI". It's scripts or code that simulates scripts. There's no neural nets or anything else because we can't get the power for a neural net in an active game. In chess we can but then chess no longer is fun unless we tone down the "intellegence".

      Hmmm. If I write a neural net program, how is that different than what you call "scripts or code"? It's still just code.

      And the best chess algorithms (which you seem to claim are "real AI") are just search alg
      • by kinglink ( 195330 ) on Saturday March 31, 2007 @03:37PM (#18557897)
        If we are talking about a computer game I'm hoping we are talking about human-like intelligence.

        What I really was trying to get across was a common misconception (one that stuck me when I got into a game company) that "AI" as it's taught in school is very different hen AI as it applies to most games. The biggest difference is most AIs don't learn, and most are pretty much just a script that doesn't change. We don't have the ability to throw away any cycles of the game so the AI tends to be highly stripped down to the point it's just "oh I see a gun, I'm going to react to the gun, how should I react to the gun, I'll do that." This is completely scripted to the point where you can tell what's going to happen if you point the gun at the person a second time or a third time. There's no "thought" or "intelligence" to the system, thought it might seem "intelligent"

        A chess AI on the other hand evaluates all the options of what it can do and chooses a best option, the pruning is a form of "thought". A chess master will be doing something similar where he thinks of all his possible moves and then considers responses and so on which is effectively using game theory. To me that's actual intelligence even if it's not fancy.

        The difference between a neural net program is it's code that tries to simulate the learning and thought process if you will, the code that AI in games use is just like I illustrated above. There's an "action" and the code quickly decides what's the reaction and does it. It doesn't try to evaluate too much because we don't have the cycles to do that.
        • Re: (Score:2, Informative)

          by daffmeister ( 602502 )
          Actually chess masters don't evaluate every move and every counter move in the manner that a computer program does. A lot of their analysis is based on familiar patterns, recognising promising lines by this method.

          Witness Kramnik's missing of a mate-in-one in the recent match against Deep Fritz. It was such an unusual pattern (opposing knight on the eighth rank) that he just completely missed it.

          Chess programs are much more about brute force. They've got so good at brute force that it looks pretty intellige
          • Sounds interesting to watch. I don't follow chess that much, but I played at school. Is there a commentated movie of it?
        • Re: (Score:3, Interesting)

          by tmortn ( 630092 )
          Eh, the chess programs are mostly just pattern matching against libraries of stored games and brute force projection of all possible moves from a given point. They rank the options and the top option always wins. I suppose when considering that the computer is storing your games (ie growing its library) then its responses could change over time. Not because it learned, but because the same 'intelligence' is applied to a different data set. Given the same data set the ranking system will always react the sam
    • The Best AIs I've found are in some games like Yu-gi-oh the card game I'm currently working on nightmare troubadour and most of the opponents I've played always make a "great" move.

      Yu-Gi-Oh! eh? I think the AI is only good because of its good decks, however after you get a good deck it can't compete because it doesn't seem to understand combos beyond 2 cards.

      In GX and WC2007 (for DS) the AI will often OTK and summon a Chimeritech Dragon only to kill itself because it didn't meat one of the criteria. It will
  • by Foo2rama ( 755806 ) on Saturday March 31, 2007 @03:01PM (#18557573) Homepage Journal
    I am constantly amazed at how bad the AI is in this game, after years and years of developement you would think that the Ai would have developed alittle more. While very advanced in speech capabilities, the AI relies on taunting you by claiming you are a noob, cheater, or a camping f**ktard, and will even call you GAY. In game play the AI is still weak and just does the same thing over and over again, and will constantly be baited into sticking its head around a corner, or runs into flashbang grenades on a very regular basis, failing to learn from its past and how it got owned over and over. Finally the AI deems you are a cheater and runs to load another AI called an Admin that will ban you because it cannot understand how you are so much better then it.
  • Friendly AI (Score:5, Insightful)

    by nmb3000 ( 741169 ) on Saturday March 31, 2007 @03:02PM (#18557579) Journal
    Personally, while enemy AI is something that's pretty neat to see in action, it's the friendly AI that gets my attention. Most games seem to put all their effort into the enemy, while you friends turn out to be schizophrenics with an IQ of about 40. I haven't played, but I have heard that something that people complained about in Gears of War was was the poor team AI.

    I don't play many games any more, but Halo 2 was one that I thought pulled ahead of the pack a bit. Friends that can drive vehicles was pretty cool (albeit not always the safest drivers...) allowing you to man the gun in the back. They also seem better at not running right in front of you when you're in the middle of launching a rocket, and also do little things like take advantage of available cover (or in other cases jumping up on top of said cover and getting blown to bits). Halo 3 is supposed to have even better AI for both friendlies and enemies, and that's one of the things about it I'm looking forward to.
    • This is especially true when you play games like Mario Party and get teamed up with the computer for one of the minigames. The purpose of the game will be push the button you see on the screen, and it will take them 4 or 5 seconds to push any buttons at all, and sometimes, it's the wrong one. Nobody plays like that. Not even 3 year old. Most of the time you push a button in about 1 second, sometimes it's wrong.

      I'd also like to point out that I like how GC makes it really easy to find the buttons. A i
  • by nartz ( 541661 )
    The best AI I have seen is probably in WC3. However, I feel that in many games, it isn't the AI that is good, but rather that the computer players sort of cheat by having knowledge of everything in their environment; for example, they know (from the beginning) where the bases of other players are, instead of having to search like a human player. This gives them a huge edge - think of it as a human player playing against another with a map-hack, very unfair.
    • Some games actually do cheat though, like Empires: Dawn of the modern world. On difficulty 4-5 it's amazingly easy. On difficulty 6+, the opponent has a bigger base with more army than is remotely possible at the start of the game (tested using the 'reveal part of the map' ability of one of the races).

      Wasn't impossible to beat, but just kind of takes the fun out of it.

      Want to make GOOD ai? Program it like a client, not into the server. That way you can't let it cheat by givign it unfair advantages or unfair
  • Honestly, while I liked the AI in the Halo series, I think the main reason that it came off as being so impressive wasn't due to the AI itself, but because Bungie gave the AI "personality." It's a lot easier to misattribute greater intelligence to somthing when it's funny (your fellow marines) or screaming profanities at you (the Covenant).

    Likewise, it seems like the only real advancements in AI in games seem to be happening in FPSs, such as they are, anyways. I typically play Turn based strategy games

    • because Bungie gave the AI "personality."

      There was this game called Outcast, that worked the persoanlity thing well too. You had a reputation with the locals, and that really effected the game.

      You can also ignore the myriad of requests for help or errands that they ask for, but again you will be well served if you don't. Some are side events, some more related to the bigger and central tasks at hand, but you may not always know which is which. More than that, if you help then the Talan will like you.

  • Wesnoth (Score:3, Interesting)

    by Glowing Fish ( 155236 ) on Saturday March 31, 2007 @03:04PM (#18557603) Homepage
    I would have to say that the AI for Wesnoth, an open-source Turn Based Strategy, is one of the better AIs I have encountered (for that genre of games).
    Although it isn't that the AI is that well done, it is that the rule set is simple enough that an AI can follow it.
    I've played Civilization, Heroes of Might and Magic and Masters of Orion, the trinity of TBS games. Although they were often very good, the AI could only win in all of them due to "cheating" of a sort. The reason was that the various different factors to be considered were behind the planning ability of an AI. For example, in Heroes of Might and Magic II, there were seven different resources that a player could collect. Often, towards the end of the game, even while it was badly losing, the AI would be running around trying to grab resources, and would lose because of it. In Civilization II, because there was so many different units and improvements to be built, the AI would produce useless units, or spend all their time building improvements to cities that were about to be captured. The algorithm for keeping track of so many factors is impossible to make in an AI. AIs can't understand what is relevant and what is not.

    So, in Wesnoth, there is only one resource to be considered, gold. Damage is also a straightforward mathematical calculation. So with the simpler rule set, the AI can play in a relevant way. Not that the rule set is simple in the sense of easy, it has a few factors, but those few factors can be combined in intricate ways.

    So Wesnoth has one of the better AIs in my view, although of course it can still be tricked and worked around, but then any AI can be.

  • Cheating (Score:5, Interesting)

    by dunezone ( 899268 ) on Saturday March 31, 2007 @03:09PM (#18557649) Journal
    Ive noticed that AI is not designed to beat your next move but is designed to cheat you without the player noticing. Command and Conquer and Gears of War are two games that have two well hidden cheats. Command and Conquer is twelve years old almost, the enemy AI was programmed to always have full resources as long as one harvester made it back. Therefor what would take you five harvesters would only require them one. Most players would of never noticed this unless their strategy was to cut off enemy resources instead of an full out assault. Gears of War was praised for having AI that used the environment to their advantage which helped cover a little cheat they had. The AI had a weird tendency to know exactly where you were as long as your cross hair covered them or came close to them. For example if you were to pop your head out and just happen to have your cross hair on an enemy turret that was always firing at a covered friend, it would immediately start firing at you, this would also goes for the regular grunts/guards. This is very noticeable on "Insane", since that mode requires you to use cover 90% of the time and better tactics then rush in and shoot everything that moves. AI is not designed to outsmart/out think/or consider your next move, in my opinion most AI is designed to defeat you by using small cheats in the programming that give it an unfair advantage and hopefully designed so that you wont be able to notice it.
  • I was amazed when my pretztail not only installed a whiteboard in its den, but then proceeded to prove Fermat's Last Theorem. I think it's because I fed him a Doenut...
  • by Pode ( 892717 ) on Saturday March 31, 2007 @03:13PM (#18557673)
    GalCiv II has given me the worst beatings I've ever taken in a strategy game. Shogun: Total War managed to spring a tactical ambush on me once (although in fairness my grip on tactics was much worse back then). Both of those AIs gave me a challenging game experience as a player, which is what "good" AI should be judged by.
    However, if we're talking about "impressive" AI, nothing I've seen in the gaming world can compete with Paradox's EUIII. Yeah, I know, each individual AI nation makes a lot of bonheaded moves. But the game is managing the armies, navies, economic, religious, colonial and foreign policies of up to 300 nations, every game day when a game year can go by in a minute or two, on a 1.9GHz processor. Considering the number of cycles and the amount of memory avaiable for each AI opponent, it's simply amazing to me. I really think that should be the basis of comparison, not so much the level of play the AI achieves, but the level of play it achieves with the resources available to each AI player. If nothing else, that standard makes it meaningful to compare old games against new ones.
  • I've read articles (maybe at Gamasutra [gamasutra.com]?) citing surveys of playtesters on the perceived intelligence of AI opponents. I wish I could find the articles to cite them, but since I can't I'll just summarize them here:

    Consistently, harder AIs were ranked as "smarter" no matter whether this was due to better algorithms or due to cheating. In fact, gamers tended to rank AIs highly that could do "neat tricks" -- say, tossing your grenades back at you, as in Return to Castle Wolfenstein -- which is something bes

    • by SnowZero ( 92219 )
      It's only disappointing if you think intelligence derives directly from the size of our brain, and not from decades of knowledge, experience, and training. Our big brains allow us to learn, but it is not a substitute for experience. The goal of much advanced AI is that we don't need to program the neat tricks manually, not that the neat tricks are no longer needed at all.
    • Re: (Score:3, Interesting)

      by Eivind ( 15695 )
      That's typical of the AI possible today: It can't actually perform better than a stupid program following simple rules.

      Had a similar depressing experience in my class on AI. The task was to build a neural network that could guesstimate the sex of a first-name. A quite complex neural net, trained on 300 random male and female names could thereafter guess the correct sex of a name about 65% of the time.

      Which seemed impressive until someone pointed out that a trivial table-lookup of the most common 100 fem

    • For most people, "smarter" means the AI does things that they didn't expect an AI to do, but would have done themselves if given the choice. It doesn't matter if that's a scripted behavior or if the AI actually "decided" to do it.
    • Re: (Score:3, Interesting)

      by NekoXP ( 67564 )
      AI in games is mostly triggers and actions.

      It's still AI if those triggers are hardcoded or based on statistical analysis.

      It *is* intelligent for an NPC to realise a grenade was thrown by the player into it's general area, and throw it back at the player. That's not to say it shouldn't be ranked highly or that it is a crappy AI.

      If an enemy hops over a wall next to him for cover it's the enemy realising that he needs cover and there is an easily hoppable wall. He could just as well duck behind a barrel, but
  • F.E.A.R (Score:5, Informative)

    by alphaseven ( 540122 ) on Saturday March 31, 2007 @03:16PM (#18557717)
    Here's a short article on the A.I. in the game F.E.A.R., "F.E.A.R.'s AI Demystified" [gamespy.com], (in more detail here [72.14.203.104]). Having played through F.E.A.R., what impressed me so much was that a lot of what is called A.I. is actually audio and animation. You can make enemies seem way more intelligent than they really are by doing stuff like have detailed animations for stuff like hopping over barriers or diving through windows that's triggered when they are in certain spots. They would also have the enemies shout stuff, if you had your flashlight on they would scream "Flashlight" and dive for cover.
  • by SharpFang ( 651121 ) on Saturday March 31, 2007 @03:19PM (#18557739) Homepage Journal
    Google Maps AI rules.
    See point 23 [google.com]
  • Some of Nintendo's Mario games have pretty good AI, like Mario Cart and Mario Party.

    I always enjoy the C&C series "brutal" AI, even though they aren't particularly human-like, and sometimes have economy cheating.
  • If you want a really challenging AI, and one of the best I've seen around, I highly recommend Galactic Civilizations 2 [galciv2.com]. It's a 4X game similar to Civilization but takes place in space. The developers frequently post articles about the AI and how they are continuing to improve it. Furthermore, they read user's strategies and then improve the AI. The greatest part is that on the Tough setting (highest difficulty before they start giving the AI bonuses), the AI provides a challenging game. This is unlike most
  • Walked up on a group of 2 bandits, pumped a few rounds in one guys face and he drops like a rock. The other guy does absolutely nothing. Now maybe he won't miss the guy I killed but wouldn't you at least turn to get a look at the person that just sprayed brain matter all over you?
  • ... whatever version is actual right now. Heck, even my HTC Wizard at 200 Mhz constantly kept beating me at any higher difficulty setting, and it was definitely not cheating, if you take my meaning.
  • I have never seen game AI that worked intelligently. My gaming cycle goes like this: learn the controls, remap the controls to optimize, get specific reaction time down, figure out the basic AI repitoire, learn the "maps", master reaction times, learn to trick the AI or "squeeze between the cracks" of the AI.

    People learn to do tricks the computer doesn't do. This is the draw of online FPS games like Quake, Counterstrike, etc.

    If developers wanted to make good AI they would beta test the Player vs player ve
  • The original (Score:5, Insightful)

    by Squalish ( 542159 ) <Squalish AT hotmail DOT com> on Saturday March 31, 2007 @03:43PM (#18557953) Journal
    Unreal Tournament.

    It had the first bots that you could play against for hours and not even notice you were offline. I havn't encountered a more convincingly human AI in the dozen FPS games I've played since, including UT 2k3(which probably means that the UT maps were just easier to code for).

    It's the only game where you can feel yourself increasing in skill over the course of a few days of playtime, and ratchet up the difficulty a bit and get the same kill ratio, without feeling suddenly overwhelmed by perfectly aimed headshots.
  • Civilization IV (Score:3, Interesting)

    by Kuciwalker ( 891651 ) on Saturday March 31, 2007 @03:46PM (#18557981)
    With Blake's http://apolyton.net/forums/showthread.php?s=&threa did=159157 [apolyton.net]A Better AI which Firaxis actually included in the latest patch, it's gotten pretty impressive.
  • CRobots! Oh man I had this one that...
  • Perfect Dark N64 (Score:3, Interesting)

    by oliphaunt ( 124016 ) on Saturday March 31, 2007 @03:53PM (#18558045) Homepage
    OK, it's pretty old by now, but I was a big fan of Perfect Dark [wikipedia.org]. The AI robots had difficulty settings AND personalities. If you were running deathmatch games against the AI, you could set AI's to have various behavior attributes [gamefaqs.com]:

    • PeaceSim:As the name implies, this Sim hates violence. In fact, the PeaceSim will go around hoarding weapons so people don't pick them up, and disarm people for their weapons. Therefore, they'll drop a payload of weapons when you kill them. Just don't let them sneak up on you...
    • ShieldSim:Like some human players I know, this Sim is a shield addict. It will always go for the shield, even if it has no weapons! In fact, if you damage its shield in the least bit, it will retreat to get another shield! My advice is don't let it.
    • RocketSim:This is the pyromaniac of the Simulants! The RocketSim will always pursue the explosive weapons, and will set them off, even if doing so would spell death for itself! Avoid this Sim, or kill it before it can get an explosive.
    • KazeSim:This is fearless, suicidal menace. It will make suicidal runs, even with no weapons, to try and destroy you. It fears nothing, and that makes it a dangerous enemy.
    • FistSim: Unlike the PeaceSim, the FistSim is violent. Like the PeaceSim, though, it will hoard weapons and try to engage you in hand-to-hand combat. It won't use weapons, but it will do good damage with its hands.
    • PreySim: This Sim truly feels that honor is a minor detail in a fight to the death. The PreySim dislikes competition, so it will hunt down the easiest targets to gain an easy kill. Its favorite targets include weakened opponents that are unarmed or armed with a weak weapon, and enemies that have just spawned. The PreySim also loves to cloak, so beware.
    • CowardSim: This is the SimWussy. It flees to safety at the mere sign of confrontation, and will only confront you if it has a superior weapon. Carry a big gun, and you will rarely meet this Sim. Hide out and try to catch the coward off its guard.
    • FeudSim: Stay out of this Sim's way! If the FeudSim goes after you, it will hunt you until the end of the game! It will mercilessly hunt its target, even if you kill it.
    • SpeedSim: As the name suggests, this Sim is extremely fast. It's definitely faster than you, so it's difficult to hit with standard weaponry. It's impossible to flee, so stand and fight like a man.
    • TurtleSim: This Sim is the opposite of the SpeedSim. It moves at a much slower rate than most players, but it has a shield that is twice as strong as the standard shield! Fortunately for you, it has restricted mobility due to its shield.
    • VengeSim: This is a psychopathic Sim! This Sim will completely ignore other players just to attack the player that last killed it! It attacks with a vicious rage; so to avoid its rage, just leave it alone.
    • JudgeSim: This is the only decent Sim. The JudgeSim acts like the judge of the battlefield, going after the winning player to even out the odds. That means if you are an expert playing against some young rookies, expect this Sim to come after you!
    The variety of personalities gave the game infinite multiplayer replay value, and made it easer for beginners to get into the game. You could pick simulants that would ingore a newbie human player and attack only the players with more kills, so the good players can run around slaughtering AI's on the difficult setting in the same game that a newbie is just exploring the level and figuring out how to reload. The experts still have fun while the newbies don't get instantly killed every time they spawn.
  • Nothing could have prepared me for unlocking darksims, chasing one towards a ladder, and then finding him rotate his upper body completely around to fire back at me as he continued to ascend.
  • Kohan has scripted AIs and a AI scripting language. Some of them are pretty sophisitcated and specialized on a certain faction or even to a certain type of map. If I pick the best in a Game I allways lose.
  • Falcon 3 (Score:2, Interesting)

    by Ullteppe ( 953103 )
    Anybody remember Falcon 3? While all the other sims pretty much had scripted missions (many still do), Falcon tried to run the whole war in the background. And when you ran into other planes, they acted pretty convincingly. They were hard to beat as well, I remember the Mirage F1s especially as being pretty tough in a dogfight. Pilots of different planes acted differently according to their planes strength/weaknesses. They used 6 months to patch the game sufficiently that it didn't crash all the time, kind
  • As an example of how complicated AI (which you all know stands for Algorithmic Interaction of NPC's ;-) can be, I once read a really lengthy article about the AI efforts put into NPC/bot aiming in one of the Quake engines. Basically, you can trivially create a bot that has flawless aim. This will create about the worst gaming experience ever, you see it you die. Take that back, you didn't even see it yet..and die. So, you go about creating an aiming algorithm that needs to mimic human style aiming taking in
  • The game was not perfect, its crap save system for one thing BUT playing as the alien had some nice moves.

    For once the "enemy" was more then just cannon fodder with a deathwish. You were a nasty scary alien and the humans knew it. So a fair number of them would NOT react all that well to signs of your presence.

    Once I was hanging upside down from the ceiling slowly eleminating the lights. Below me a civilian must have spotted something for he threw up a molotov cocktail (or similar) at the shadows. Offcour

  • by guruevi ( 827432 ) on Saturday March 31, 2007 @04:04PM (#18558179)
    It's my manager's; Basically his algorithm is to listen to what I have to say, deny my ideas or find a situation where an exception would be generated and then depending on the number and level of participants, introduce my idea as his. I tell you, that shows great intelligence to his overlords although it's artificially generated but the actual participants start to get it after a few times.
  • Gran Turismo: They drive like robots, making the same mistakes on turns, and don't even dodge you if you are sitting in the middle of the road.

    GTA: Not exactly "worst" but they follow such a linear fashion(cops, bad guys, etc) it is easily exploitable. Cars are programmed to chase you at maximum speeds, and will overshoot if you drive slower. I've seen cop cars drive off of docks into the water. Easy to do PIT manuvers on.

    (SA) Supposedly in the gang wars they will run away to make you think they are retreat
  • by TheCreeep ( 794716 ) on Saturday March 31, 2007 @04:21PM (#18558351)
    Ask Kasparov...
  • ... Memorable encounters with enemies and NPC's are. The truth is what made Halo so great was how you could interact with the enemies in the game and how the enemy was made to seem "alive", like how they spoke in their own language and how the little guys spoke english like "Grenade!!" when you tossed a grenade at them, and the crazy things they'd do you when you stuck a grenade on them. Next A.I. is a huge topic, things as simple and mind numbingly dumb (to the gamer) as pathfinding are made needlessly c
  • Damned computer used the first round to study you. You could win, say, by poking with the light sword hit, the computer would counter with the heavy sword, and since that hit had a longer recovery you could land some medium blows in there. Next round, the computer will counter-poke with the light sword instead of going with the heavy. You counterhit and now you are on the receving end of the simple strategy of round 1. Best way of beating the computer was going for completely outrageous stuff in the first
  • In years of gaming I've never come across a particularly impressive AI. I've found that the computer "cheats" sometimes to seem more advanced (such as in Age of Empires, at higher levels of difficulty, instead of getting smarter, the computer opponent just starts with more resources than you). In most cases, game AI succeeds solely because it's connected to the game world more than is possible for the player, and it does what computers do best, which is to flawlessly repeat instructions, making it a far s
  • ... good management or good typography.

    You don't notice them.

    You only notice their existence when they're bad.

    In a game, if you find yourself playing the game rather than working out how to defeat the AI algorithms then that's good AI ... and you're not noticing the AI, you're just playing the game.
  • The guys who made the AI for that dinky little C64 game did a fantastic job.

    Better yet, they included a small book on how they developed the AI. Went to cons and watched expert players. Developed test routines. Tuned those routines. And at the end of the book they include the actual algorithms in the game, too. I'd consider it a must-read for anyone doing game design.

    And even knowing the algorithms, it still doesn't help. That game *still* kicks my ass.

  • Question for any games devs out there, which kind of AI is generally more difficult to write, turn based or real time?

    Now ignoring stuff like FPS where you can get away with fairly basic AI if you want, you have turn based (ie Civ, chess, Battle for Wesnoth etc) and real time (Starcraft, C&C, boswars, etc). Obviously there must be some very different strategies and approaches, for turn based you get to spend a lot more cycles figuring what to do, then again the player has a lot more expectation of a goo
  • by BrendaEM ( 871664 ) on Saturday March 31, 2007 @06:05PM (#18559727) Homepage
    The AI could see not only see in a view fustrum, but also by how much light you were lit by. The AI could hear depending on what surface you walked on, you could affect the light by putting out torches, affect the sound my mossing the floor. The AI notice bodies and things out of place, such as a climbing rope. The AI also had different alert states. I think that they are pretty good for a game made almost a decade ago.

    There are over 400 Thief series fan missions. Last night, I played "Ominous Bequest"
    http://southquarter.com/?p=131 [southquarter.com]
    One level change for 6 hours of gameplay! Yes, Thief 1 and 2 graphics are quite dated, and low-poly, but if you can forgive that, the gameplay and atmosphere compensates for it.

    Lately, there's been a reinsurance in Thief 1 and 2 add-on missions. There's a updated version of 680mb Thief2X add on. Missions like "Ashen Age," and a "Night in Rocksburg" have breathed a little life into T2 visually.
    http://forums.eidosgames.com/showthread.php?t=5526 3 [eidosgames.com]
    http://southquarter.com/?p=131 [southquarter.com]

    Someone is working to refresh the Thief Series Engine, but the source code would help. I wish that Eidos would release the source code--for an eight year old game.
    http://www.ttlg.com/forums/showthread.php?t=102289 &page=11 [ttlg.com]
  • Far Cry (Score:5, Insightful)

    by lewp ( 95638 ) on Saturday March 31, 2007 @07:57PM (#18561093) Journal
    Far Cry has great AI. I don't remember ever going "zomfg the computar is thinking!!!", but the enemies respond in a sensible, coordinated manner -- sweeping areas where disturbances are heard, covering each other, and using weapons intelligently. Far superior to Half-Life (and, credit where credit is due, several years after Half-Life), but also in a much more open-ended game world, where the mobs don't just have to navigate a room full of crates.

    The really sad part was when, halfway through the game, they switched from "smart" soldiers, to Doom-esque mutants who just ran straight at you. Ruined that game for me.
  • by grumbel ( 592662 ) <grumbel+slashdot@gmail.com> on Saturday March 31, 2007 @08:00PM (#18561115) Homepage
    Operation Flashpoint is among the most impressive games that I have seen when it comes to AI, not necessarily because its the most sophisticated, but because the AI has a very noticeable impact on the gameplay.

    No matter how often you replay a mission, it will always come out totally different. This comes in large part from the very open nature of the game, namely there are basically no rooms, its all just one huge outdoor environment and both you and the enemies can go basically wherever they want. It also comes from the way the missions are designed, there are no soldiers that jump out from behind a rock to shoot at you, instead the enemy soliders just follow their routine, they walk their paths, drive a convoy along the road or whatever they have to do right now. Thanks to the large area, they don't have to walk on a stupid 10 meter long path and then turn around to repeat it over and over again. This all leads to a very realistic feel, because all the limits of classic FPSs are removed. Its also not you against 100 other, but often more like you + 5 team members against 10 other, so its a much more even match. In Operation Flashpoint the player is also completly equal to the enemy, one good targeted shot and you are dead, no 100% health that slowly goes done while enemies die on the first hit.

    Another aspect that is noticeable in Flashpoint is that there is a very clear difference between the state of the enemies, you can easily tell when they are on patrol, when they are attacking you and when they are searching for you. If you shoot at them they will notice it and react appropriately, this also makes it easy to tell when they don't notice you, i.e. you can hide rather well, a tank won't see you when you are crawling directly infront of it, etc. As a player its simply easy to tell what the enemy is currently doing, since the animations and behaviors are rather distinct for each of the actions.

    Last not least Flashpoint is also a game where you need your teammates and where they are not just stupid cannon fodder. Most of the time your teammates can take very well care of themself and you don't have to babysit them like in some other games (HalfLife2...).

    All that said, the AI in Flashpoint is far from flawless, it can often be a nightmare to get your group to mount a vehicle or get to a certain point, they will do what you want, but when they crawl around for a minute before entering the vehicle it can get pretty annoying. But overall Flashpoint really is among the best, it is however not just the AI itself that does the job, but the overall game design that threads players and enemies basically the same, it also helps a lot that the whole gameworld is interactive, if you see a tank, then you can drive it, there are no artificial barriers, no pre-scripted events that happen outside of normal gameplay rules. That scripting that is there blends perfectly into the normal gameplay.

E = MC ** 2 +- 3db

Working...