A.I. Roulette

One of the three methods an AI uses to perform moves and functions is to simply pick moves at random. For some simple foes, this is fine, as the player probably won't notice. But the more complex or varied the enemy, the more likely actions will be chosen that would never be performed by any intelligent and sane human, or any sufficiently advanced enemy AI.

Lower the player's physical defense? Let's use magic! Put them to sleep? Wake them up the next turn! Have victory one turn away? Run like a chicken! Even if an enemy possesses an attack that will effectively ensure defeat for your team if used first, it's perfectly possible that they won't bother to use it until it's too late, or even not at all.

Warning: AI Roulette occasionally can have a run of competent moves in the same way you can have long streaks of one color in true roulette, and for the same reason. AI Roulette is usually laughable, but if the AI is having a lucky streak when your party (esp. a beginning party) is fighting it, you'll stop laughing. In particular, some bosses are only vulnerable when they perform a specific move; this trope can result in controller-tossing rage when the AI Roulette doesn't come up with this move.

There are several reasons that this trope may be in use:
  • It takes less time. Complex AI routines would require a lot of coding for each individual creature to use its attacks most effectively, which increases the time it takes to create a new monster. In games with hundreds of different creatures (even if some are Palette Swap creatures), A.I. Roulette is a reasonable alternative to writing hundreds of AI routines.
  • The AI would be very predictable otherwise. No matter how sophisticated the AI, if the same situation always causes the same reaction, the player will learn the pattern and anticipate it. A little randomness makes the game more challenging, in a way that cannot really be described as fake.
  • Execution speed. Online video games may be host to thousands of players encountering hundreds of thousands of computer-controlled entities at the same time. AI Roulette may provide a performance advantage because it keeps the server from being bogged down with conditional trees. Even simple additions to AI can result in doubling or tripling server load, and consequent game slowdowns.
  • Keeping things somewhat fair. Computers don't make mistakes, and sometimes have an unfair advantage; when monsters know your weaknesses or have devastating attacks, using the right skills all the time — using its strongest attack nonstop, breaking your best armor, going after your weakest characters, exploiting your elemental weaknesses, gaming the counterattack system — would result in incredibly frustrating difficulty.
  • A combination of the above. Many RPGs have monsters that are impeccably strong, but use a random AI to keep that strength in check. It's easy to make a stupid AI (takes less time) with high stats (keeping things fair). However, these sorts of enemies can easily turn into a Luck-Based Mission, since the RNG essentially determines whether your party is smashed into goo or walks away unscathed.

Not related to Gambit Roulette or AI is a Crapshoot. Compare Artificial Stupidity.


    open/close all folders 

  • In Ōkami, all enemies are this. The most prominent example is Yami's slot-machine form, where, if you don't Powerslash it or use Mist, it will just pick random moves. Another good example is the boss fight with Lechku and Nechku.
  • A speedrunner named Cosmo, while attempting a world record speedrun of The Legend of Zelda: Ocarina of Time, ran into this with the Fire Temple boss, Volvagia, during one of his most promising runs. Due to the specific sequence break he was using, he had a limited amount of time to defeat Volvagia before the game auto-killed him, which would waste too much time to catch up to the world record, meaning he would have to start an HOUR's worth of gameplay over. So of course, Volvagia, only being vulnerable when the AI Roulette lands on certain moves, proceeded to perform anything but those moves until Cosmo's run was ruined. This happened repeatedly.

     Eastern RPG 
  • Enemies in Final Fantasy XI generally pick attacks and spells at random. Sleepga spells can render an alliance useless, and the mob could go to town on targets one-by-one... if they could only remember to not cast any damaging Area-of-Effect spell, which wakes everyone up. Sometimes they even use Sleepga after casting Poisonga, which makes sleep ineffective due to poison damage keeping people awake. Some Notorious Monsters, however, either have only one spell, spells of a specific element, or a very small set of spells that maximize the NM's performance. At least one NM is actually scripted to cast Sleepga 2, then Thundaga 3 for massive AoE damage.
    • FFX suffered from this short cut as well. Although more commonly the bosses were a combination of AI and randomness. (i.e. random single damage attack followed random AoE attack followed by random buff, heal if low health) The final boss in that game has an attack that reduces your entire party to 1 HP. Potentially dangerous, but not if he uses it multiple times in a row...
    • Of course this was somewhat offset by so many of the big boss level enemies in FFXI having moves that are essentially "You lose if I use this attack". Being randomly woken up after being slept by a low damage spell means you get to live at least as long as it takes for the AI to decide to give the wheel another spin.
    • Bard enemies are funny. Lower level ones are more prone to use songs that are useful, since that's all that is available to them. Higher level ones can waste an entire 8 seconds casting a MP restoring song on themselves. Which they are incapable of using. This is mostly due to a flaw in Bard monsters and enemies with MP in general: Bard enemies pretty much never have a subjob that uses MP(Not even White Mage, which is what player Bards are expected to have), and any monster that has MP has MP reserves so ginormous that MP restoration is a moot point.
    • In fact, that's how most enemies in the entire series act, though some bosses would be subjected to certain rules (such as only being able to use a devastating effect every 5 turns with combat messages warning the player). The only boss that can easily be seen to run on a pre-programmed pattern is Safer Sephiroth. The only parts in which he varies are his stat caps and when he replaces his seventh attack with Heartless Angel on low health.
  • Dragon Quest:
    • Enemies in Dragon Quest VIII, even bosses, pay little attention to the state of the fight. They'll use a special move removing all effects on the party, even when there are none. They'll cast buffs on themselves when they're about to die anyway. They'll call for backup even when their party is already full, and other pointless actions.
    • In the original Dragon Quest IV, this also applies to your allies. In order to represent that everyone aside from your hero is an experienced warrior by the time you recruit them in Chapter 5, the player only gets to directly control their Heroic Mime. All the other heroes have their own AI, which... doesn't work out that well in practice. Such as having team Cleric Cristo/Kyril constantly casting his rarely-hitting insta-death spell against bosses. Thankfully, they added a manual command option in The Remake. Even the original NES version has a Game Genie code that allowed manual command.
  • Pokémon:
    • In Pokémon Red and Blue, your very first battle against your rival essentially comes down to luck, as they can either attack or use a status lowering move. Whether you will win comes down to how much they will use their non-directly damaging move. Getting the potion from your PC turns it from whether you're lucky enough to win to whether you're lucky enough to keep your potion to use later.
    • The move Metronome is this. A move that is the Pokémon equivalent to the wrath of God has the same chance of being called via it as the move that has no effect whatsoever.
    • As the game progresses, certain moves are appropriate only in the rarest of situations, such as Gravity. At other times, the 'Rock-Paper-Scissors' elemental weaknesses prove this trope. For instance, when the opponent's Fire-Ground combination Pokémon decides to square off against your Rock-type, he's just as likely to use a Fire move (which does little damage to you) rather than a Ground move (which will probably KO you quickly). Gym Leaders are smart enough that any attack that is weak against the opponent is removed from their roulette.
    • In Generation I, this was taken a step further; Pokémon used by high level trainers are programed to use whatever move has the best type advantage above all others, even before considering whether or not that move actually does damage. This was especially noticable with the Elite Four, where you'd see their Pokémon use nothing but nondamaging psychic moves, such as Agility, Amnesia, and Barrier, simply because you brought out a Fighting or Poison type.
    • Trainers in the first generation with certain Pokémon, such as Spearow or Kadabra, would use Whirlwind or Teleport, despite the fact that auto-flee moves don't work in Trainer battles. Whirlwind eventually gained a Trainer battle effect that's more annoying than anything.
    • It varies from game to game and AI trainer to AI trainer. However, wild Pokémon will always use an AI Roulette. This is probably justified by the wild Pokémon not having the decision-making skills of humans.
    • The Roulette that AI trainers use prevents them from using moves that will be not very effective... which can make them even dumber than if they just used random moves. In Yellow Version, Giovanni has a Nidoking and Nidoqueen that, when faced with a Grass/Poison type like Bulbasaur, will only use Leer or Tail Whip due to what their other moves are. When you don't understand the Roulette, seeing them beat your Pikachu in one hit and then be taken down by a level 10 Bulbasaur is baffling.
    • Some Gen 1 trainers has random chances of taking special actions like using an item or switching. Gets hilarious with Blaine the 7th Gym Leader, who was coded to randomly use a Super Potion but the coders forgot to specify any clause about HP, meaning that it's possible for Blaine to open the fight by using a Super Potion on a full-health Pokemon.
  • The battle system in EarthBound relies on this to make fighting some enemies easier. Many enemies (with few exceptions) have "do nothing" type actions in the list, such as furrowing one's brow or falling down. These are chosen from an enemy's list of attacks just as often as their regular attacks are, so it's possible to get lucky and have an enemy spend several turns idling.
    • Given the atmosphere of the game, this practically falls under the "Rule of Cute", if there were such a thing.
    • Then there's the Clumsy Robot boss, which has one devastating attack and so many "do nothing" moves it could be considered a lampshade.
      • Of course, this also means that if you get unlucky and Clumsy Robot uses the missile, say, four times in a row, even the rolling HP meters won't save you.
    • There are also some enemies that use a set pattern to attack, such as the Robo-Pump and Final Starman.
  • In Crisis Core: Final Fantasy VII, you will run into enemies on the harder missions who outnumber you 5 to 1 and have the AI roulette. Example: One of the Wutai missions pits you against 5 Silver Wutai Soldiers, who have a move called "Death Missile" that kills you in one hit unless you have that rare item that makes you immune to Death. They seem to like this move a lot.
  • Final Fantasy VI presents a unique scenario for this trope: the Coliseum, wherein the player chooses a single champion from the active party to fight solo against the enemy. The A.I. Roulette will then take over this character. The problem is, the more abilities (or spells) the character has, the more likely it is to perform something useless (like trying to cast Imp at Siegfried for ten turns in a row, or using Remedy or Float on oneself) or downright harmful (such as Meltdown, summoning Crusader, or Self-Destruct.) Many a player has gone into the Coliseum with a fully-leveled up Sabin, armed with a Genji Glove and a Master's Scroll/Offering, expecting to kill the enemy in one shot, only to see him cast Soul Spiral and kill himself on his first turn.
    The most painful situation possible, however, is if the AI controlled Terra chooses to Trance herself. For some bizarre reason, whenever that happens the AI will simply sit there, letting Terra soak up whatever the enemy chooses to throw at her, for up to a minute at times. This is a triple-whammy: It wastes the precious MP Terra uses to stay in Trance mode, it essentially ruins the battle for you, and it's boring as hell to watch if the enemy can't kill her quickly.
    Ironically, this factor makes Umaro (normally a character of questionable usefulness at best) invaluable. You see, all Umaro can do is attack. He can't learn magic, doesn't have any other special skills unless he's wearing the Blizzard Orb, and since he's in a permanent berserk state, you don't even give him orders in regular battles. Which means that in the Colosseum, the AI doesn't have any options but attacking, which in turn means that Umaro isn't going to kill himself by doing anything stupid.
  • In Final Fantasy VIII, after some plot events, Rinoa gains a new Limit Break ability Angel Wing which sends her into a unique berserk state: the player loses control of her actions but she gets boosted speed and magic power, (limited) status immunity, and continuously casts magic at no cost. Sounds great at first, but since berserk Rinoa selects spells entirely at random based on what she has available, she's as likely as not to cast Scan and Silence/Sleep/Confuse over high-level damage-inflicting magic.
  • The Last Remnant for the Xbox 360 is an unusual case in that you, the player, are subject to partial A.I. Roulette just as much as the enemies due to the battle system. Though you still have command over your units, the available list of commands you can pick from turn to turn (as well as depending on the enemy you target) is determined entirely by the AI. Sometimes the commands available are entirely logical and normal, sometimes they're nothing near what you need (i.e. no healing commands when you could certainly use some), and sometimes they give you access to your uber attacks for trash enemies.
    • Especially egregious is that often one or more characters in a group will use a do nothing attack.
  • An accepted break in the already Nintendo Hard Shin Megami Tensei III: Nocturne, where some bosses could outright kill you in one round if they used the strongest attack twice. The Bonus Boss is a Luck-Based Mission.
    • This is an understatement. If it wasn't for the roulette, Back Attacks would invariably kill you every time. And enemies that could use multiple elements would decimate your party over and over again, becoming Demonic Boss in Mook Clothing.
    • This is also the case in the Persona subseries, and is the only reason Persona 3 Bonus Boss The Reaper can be killed without resorting to Armageddon. The key to surviving this fight is that it likes to waste turns using element Break spells and then refuse to exploit the new weakness. The hardest part of the fight is actually the end - once the Reaper is almost dead, the roulette shuts off and its AI goes to "Nuke 'em" mode.
    • Speaking of Persona 3 (As well as 4 and 3P if you leave Tactics on), this can be applied to your Party Members. Granted, you can tell them to favor certain tactics, and they will listen to what Fuuka has to say once she finishes her Enemy Scan, but that won't stop Mitsuru from using Marin Karin at the worst possible time. In their defense, once something not mentioned by the scan doesn't work, they won't repeat it for the rest of the fight; the downside is that their AI can't remember it won't work (unless you toggle the enemy's scan file again to remind the AI that the enemy has a weakness).
    • Persona 3 actually gives quite a bit of Artificial Brilliance to the AI. God help you if you're ambushed by an enemy and are equipped with a persona weak to their attack: they will hit you with it, and once you're knocked down, they'll hit you again, and then the all-too-familiar game over screen loads. Your enemies (and your allies, prior to a scan) will almost always start with some version of "inflict damage on all enemies" in the hope of knocking everyone down, and, if that fails, the next member will zero in on the one who's weakest. Since this goes for enemies as well as your party members, there will be at least one battle in which you never make it to your first turn and simply watch the enemy use your tactics against you. There's also invoked That One Boss on 135 — Natural Dancer, who will learn that since you're willing to eat the damage of a reflected physical attack in order to break their barrier, it's best to charm you into inaction and pound you with consecutive pierce attacks if you've made yourself immune to wind. (They also tend to stop casting the Useless Useful Spell if you don't die from it.) On the other hand, some fights simply come down to AI Roulette: if the Hierophant boss chooses and inflicts "Prophecy of Ruin" at the start, you may as well reset. Generally, the AI shows signs of brilliance and waits for you to reveal a vulnerability, but if it chooses to attack, it will notice if one attack is more effective than another. If three out of four are vulnerable, it will take out the three before turning to physical attacks on the player character... damnit.
    • Shin Megami Tensei: Strange Journey may not have Nocturne's Press Turn system that allows enemies to mercilessly destroy you if they hit a weakness, but this trope is still the only thing keeping you alive, especially against certain bosses. In particular, if the final boss of the Law and Neutral routes spammed her 100% accurate, unblockable instant kill or even specifically targeted the protagonist, she would go from merely hideously unfair to actually impossible.
  • Monsters in Monster Hunter do this on occasion (e.g. using close-range attacks when the player is far away), although it's not as jarring since most of them are supposed to possess only animal-level intelligence, and they usually do choose an appropriate action. However, their tactics are not completely random, and may sometimes come as a nasty surprise (roar to stun and immobilize the player, launch a normally easy-to-dodge beam which knocks off 2/3 of his health and sends him flying, follow up by charging him and stepping on him).
  • Golden Sun has this with all of its bosses except Dullahan, the Bonus Boss of The Lost Age and Dark Dawn, as well as for mooks. Downright painful for mooks, since they're already severely underpowered. There's a point where you just feel sorry for enemies using their non-damaging defense lowering move on your weakest character for two turns (which is actually a good idea), then attacking your strongest character the third turn, right before dying and having done practically no damage at all.
  • Phantasy Star IV:
    • Lashiec will have you praying that he attempts to cast Possession (which may or may not put one character to sleep) instead of casting Anothergate (which deals a LOT of damage to everyone).
    • Dark Force (the second encounter), with Evil Eye and Lightningshower.
    • The biggest Big Bad may use Cancellation on you, removing the effects of your protective techniques. Resetting your party's magic defenses (if you even care about them) is far less costly than recovering from a group-damage attack.
    • Juza also acts as a Beef Gate boss. If you're not leveled high enough for at least one party member to have Gires (which is referenced specifically in a cutscene soon after the fight), he will spam Forceflash, a high-damage ability guaranteed to turn your party into chunky salsa in a few rounds. If someone does have it, the AI Roulette takes over, and he will use other attacks between Forceflashes.
  • The entire SaGa series has this in droves, especially SaGa Frontier. While a few enemies have a powerful move activated only after certain circumstances, they typically spam their moves indiscriminately. Battles devolve into games of chance in which the player hopes that enemies don't use their most powerful attacks. It doesn't help that many of the bosses get multiple turns. Even some of the most innocuous low-level enemies have sort of party-decimating attack that can result in an impromptu Game Over. MagneticStorm, anyone?
  • The bonus boss of Etrian Odyssey subverts this. It has three elemental attacks, any one of which will wipe out your entire party if not blocked by the specific, one-turn-only anti-elemental technique. The only way to beat him is to memorize the entire set 50-turn-long sequence of attacks he uses so you can counter them at the appropriate time; so strictly speaking (barring an insanely defensive tactic), he's only beatable because he subverts this trope.
    • Similarly, the bonus bosses of the second and third game follow a similar pattern, only the second game's bonus boss plays this straight if you attack him at night. The third game's bonus boss also plays it straight after losing only 1/4th of its hitpoints. Since all of its moves are lethal, both common tactics for beating it involve simply shredding it in a single turn using one of the game's two most broken moves.
  • The dream eater allies in Kingdom Hearts 3D function in this fashion, though with the chance to perform a particular action varying based on their disposition and the remaining HP of themselves and their allies. As such, it's not uncommon to see them reapplying Standard Status Effects or a Status Buff on something that they just put it on instead of doing something more productive. They also might heal you immediately when you're almost dead, or not at all.
    • Before, Kingdom Hearts: Chain of Memories had this with Donald, making him very unreliable if summoned. He basically had no set pattern, and would cast random magic spells. On some occasions, he would be quite useful, such as when he casts Thundaga several times and fries the screen for you. However, he could be just as unreliable and do things like cast elemental magic on enemies who absorb them or waste Curaga when Sora is already at full health.
  • The iOS/Android game Summoners War: Sky Arena is chock full of this, contributing to the Artificial Stupidity of your mons, if you choose to automate the combat. There's some parameters that makes it less random, but even then it's not a sure thing.

  • A common issue with City of Heroes and City of Villains mooks and bosses, especially later in the game. Rikti suffer horribly, as Mentalists will spam sleep powers on Heroes stuck in poison gas, Guardians will heal allies at full health and shield almost dead ones, and Drones can spend a lot of time running from characters with accurate ranged attacks. The Praetorians and the Freedom Phalanx tend to suffer from this, too, especially Numina and her evil counterpart. They'll beat you to within an inch of your life, turn on an invulnerable force field, and then run away.
    • The force field used by Numina and her evil counterpart is used when at low life for a certain duration whenever the cooldown is up. It's predictable.
      • This is added in deliberately for an allied NPC during the battle with Ajax. The NPC A Flawed Clone of you, has both a random combination of powersets (meaning that it's quite possible for it to have no offensive moves, or nothing but them), and a deliberately downgraded AI. Whether or not the Flawed Clone will actually be a help is a Luck-Based Mission. Even if you do end up getting an ally with a functional power combination, there is a very real chance they'll spend the entire fight doing the chicken dance.
  • World of Warcraft:
    • Bosses (and mobs) that mind-control your character will then use your powers against your teammates in completely random fashion. Hilarity often ensues. Some examples are:
      Druids can be forced to cast Teleport:Moonglade in a dungeon that was on another continent.
      The AI is unable to cast targetable AoE attacks properly and is always casting them on itself. Most mind-controlled caster classes will spend a large amount of time feebly whacking their teammates with their staff or mace.
      A highly amusing case is with a mind-controlled Mage. Part of the time will be spent AoEing around themselves, and the rest will be spent swapping back and forth between the 3 self-only buff spells that a mage can chose between.
      Other particularly hilarious times are when the boss will force you to use a move that will break the mind control.
      There is one major exception: If you get mind controlled, expect the AI to use your longest cooldown skills just to deny your their use at a moment where they would be helpful.
    • For that matter, mobs generally use their own abilities at random as well. Bosses tend to be less random overall but within the confines of the cooldown timers they also work pretty randomly. Including targetting of the ranged abilities - woe is the raid if the boss randomly starts focusing on the healers.
    • The AI for the Pet Battle system introduced in Mists of Pandaria is definitely this. It can spam its most powerful attacks and defeat you easily — especially in the trainer "boss" battles, or it can cast buffs on itself repeatedly while you beat it up.
  • Intentionally done example: in Kingdom of Loathing the Quiet Healer opponent will occasionally heal your character "by force of habit" instead of hitting them.

     Platform Game 
  • In the Sonic spinoff game Shadow the Hedgehog, the Egg Dealer is LITERALLY this. Its attacks are decided by hitting buttons (using a homing attack) on a slot machine that's on its front.
  • Iji's General Tor starts off as straight AI Roulette, but the probabilities adjust to favour attacks that have already hit you as the fight goes on. Fortunately, this doesn't apply to his charged shots that you can reflect.
  • In Spongebob Squarepants: Battle for Bikini Bottom, there are robot boss versions of some of the characters which follow this trope. Robot Sandy can do her clothesline move 15 times before she shows her weak spot move!
  • In the classic '80s game Impossible Mission, you played a spy sent to infiltrate a mad scientist's underground base and find a secret code. Each room is guarded by killer robots with a variety of randomly selected traits — some are fast, some are slow; some shoot lightning at you, while others will electrocute you if you bump into them; and some have sensors to detect you while others just blindly patrol along preset courses. You are completely unarmed and all you can do to avoid these robots is to run or somersault over their heads. Since these traits are randomly assigned to robots at the start of the game, the difficulty of rooms will change with each play-through. And sometimes this will make a game nigh unwinnable because there's a fast moving, lightning shooting robot with sensors stuck on a tiny little platform that you absolutely have to get across to win.

    Real Time Strategy 
  • Occasionally seen in Warcraft III, where sometimes the AI starts creeping and expanding as normal, but sometimes does nothing until it gets its second hero, putting it two or three levels behind everyone else, but also leaving them short one hero. Even worse for the Night Elves, who sometimes trap themselves inside their own base due to randomly putting down buildings (said buildings can move out of the way). Averted where spellcasting is concerned however, as they will always fire off their spells as needed.


     Strategy Game 
  • The AI in Company of Heroes does this to a degree. While the AI will still use reasonably effective tactics (how effective depends on difficulty, of course), the basic plan seems to be based largely on AI Roulette. It should be noted, however, that the AI will, on higher difficulties, still be able to completely fuck you up no matter what he does.
  • While a standard problem in turn-based strategy games, Steel Panthers used to really take the cake, as going harder WIDENS the roulette. It's not unheard of for a king tiger to suddenly turn around to fire at the crew of a destroyed tank while the entire enemy army is lining up on it, or to overrun a position just once, then drive harmlessly away if it doesn't succeed. In short, mid-tier difficulties were the hardest, as easy is colossally stupid, and expert-level difficulties afflicts the enemy With Great Power Comes Great Insanity as they will pound you into gravel, then randomly give you a game-winning opening, provided they haven't blown up all your guns or chased off your tank hunters. Also the AI's support vehicles have a tendency to get 'stuck' and drive in circles until they finally decide to flee giving you a LOT more time to get to them and shoot them. Sometimes you will even see such insanity as an enemy transport getting its passengers killed because it spotted 'soft targets' before the 'hard targets' and it will attempt to charge up and engage your recons with SMG fire despite the fact there is a tank or AA gun one hex over, all while forgetting to let the soldiers on board disembark. The remake World at War fixes a lot of that, but not all.

     Western RPG 
  • In the Microprose Magic the Gathering game, the AI has a particular talent for snatching defeat from the jaws of victory because it randomly selects its moves. It's particularly amusing to see it countering its own spells. It is rather obvious to anyone who plays that the AI does not understand the game.
  • Beholders in Baldur's Gate 2 tend to spam their attacks mostly at random. This can be convenient when they paralyze you then hit you with their Anti-Magic eye to dispel it, but just pray an Elder Orb doesn't decide to cast Imprisonment on your main character, because We Cannot Go On Without You, even for long enough to counter it.
    • Mages also have an AI flaw that can make them seem a bit like this, although they actually adhere to a pretty strict pattern. Summoned demons register as hostile and will attack you unless you cast Protection from Evil on yourself. So they summon a demon, cast the protection, then spend all their energy attacking it because it still looks like an enemy.
  • Spellcasters in Neverwinter Nights can be just embarrassing. Casters with access to powerful damaging spells will instead start casting 0th level protective spells like Virtue or Resistance, and target you with Daze, a spell with a 5% chance of very briefly incapacitating you. Then randomly they'll take off half your health in one hit, before going back to casting Dispel Magic on someone without any spell effects on them.
    • The game's toolbox allowed you to reprogram almost everything in the game, including the AI of the NPCs. Such reprogramming could make enemies vastly more dangerous, though it took considerable effort; some servers, such as Abyss 404, programmed entirely novel enemy AI behavior unlike anything in the base game. A simpler solution employed by many folks was to simply take away the low level or situational spells of the NPCs, so they only used the good ones.
  • A few fortunate spins of the AI Roulette is your best chance of defeating Werdna in Wizardry. Amongst his devastating attack and spells is...Zilwan, a "kill undead" spell. Since you don't have any zombies in your party, you'd better hope he decides to Zilwan you three or four times in a row, because you're not surviving much else.
  • There are several situations in Dragon Age where most characters, and even parties, can be wiped out if the enemy mages randomly cast the right spells unless the character is specifically built and equipped to have massive generic spell resistance. This isn't a completely bad thing because there are several fights in the game that would be impossible to win if the AI was intelligent.

     Other Games 
  • Sports games in general are notorious for their AI Roulette, although it is much more visible in games that let you choose the difficulty (the higher the difficulty, the lower the chances of dumb AI behavior) and team-based games (where an error by a single player or an especially smart move by one out of X guys can mark the difference between humiliating defeat and amazing victory).
    • Pro Evolution Soccer is one of the most known Sports franchises to feature this: while on the easiest difficulty sets the AI controlled players are brain dead zombies letting you do all the play and occasionally defending, on the hardest difficulty settings it's nearly impossible to predict if the opponents will leave a huge opening (even bigger than the ones on easy difficulty), perform amazing saves and shots or simply cheat with extra speed and stamina. Also, be sure to defend well at the end of the second half, or else the AI will make miracles and score an equalizer at 89:59. Or worse, scoring a winning goal(for them).
  • The Tag Duel gameplay style in recent Yu-Gi-Oh! games tends towards this. To explain, a Tag Duel is you and (usually) a computer ally against two computers with 8000 Life Points and one playing field per team. You each have your own decks and hands and can use your team member's cards to your advantage when it's your turn.
  • Liero's AI is entirely random. Even in tweak programs the only things that can be changed about the AI are its actions' probabilities. Needless to say, it was pretty dumb. Worse yet it can force you to have to quit.
  • Enemies in Bookworm Adventures invariably use this tactic. And it's a good thing, too, because if they used their abilities intelligently many of them would be able to stunlock Lex.
  • An interesting very early racing game example in the days when the player was the only one capable of making mistakes exists in the Sega Arcade Game GP Rider. While you're tasked with completing a race, much less winning it, the single-player version has you racing against a rider named "Wayne" instead of the second player. On each race, Wayne behaves differently: sometimes having good races, sometimes having bad races. This was in 1990. The ports were created in 1992. Wayne isn't a dynamic AI of the type that are in most racing games, especially simulations, due to the fact that he essentially picked "good" or "bad" riding habits uniformly in each race.
  • The boss of the Web Game Zombo Buster Rising is how one should NOT do an AI Roulette for a Time-Limit Boss. One of the randomly selected moves that the boss can use is to move closer, and if it gets close enough after 4 steps, it One Hit Kills you with a massive punch. As such, the boss becomes one huge Luck-Based Mission depending on whether it decides to step forwards of not- if it steps forwards too early too many times, it becomes nearly impossible to win.

     Non Video Game Examples 
  • In Adventurers, Eternion has an attack that allows him to nearly kill the entire party in one hit. After he declares his intent to use it again to finish them, he instead uses something else. When he expresses his confusion, Karn explains this trope to him.
  • The Dungeons & Dragons 3.5 edition book Tome of Battle include the Crusader class, which gains access to randomly selected known abilities each turn.