The Secret of Into the Breach's AI: Power in Simplicity | AI and Games #72

Поділитися
Вставка
  • Опубліковано 9 чер 2024
  • Sometimes you just don't need super flashy AI in your game. You just need something that is 'good enough' for what your game is trying to do. With that in mind, we dive behind the scenes of Subset Games 2018 release 'Into the Breach', and find out that keeping it simple can not only result in something smart and scalable but also make players think it's much smarter than it really is.
    [00:00] Introduction
    [01:27] About the Game
    [03:03] How it Actually Works
    [07:41] Misconceptions and Balancing
    [10:52] Keep it Simple Stupid
    [12:35] Closing
    [14:07] Credits
    You can read this episode on our dedicated @substackinc site:
    aiandgames.com/p/into-the-breach
    This episode is sourced from Matthew Davis' own blog post on the AI of 'Into the Breach'. Special thanks to @AlanZucconi for sending us the link earlier this year!
    docs.google.com/document/d/1O...
    Music in this episode is lifted from the 'Into the Breach' soundtrack by Ben Prunty
    benprunty.bandcamp.com/album/...
    Credit music is by our own wonderful @BenRidgeMusic
    --
    AI and Games is a UA-cam series on research and applications of Artificial Intelligence in video games.
    Follow 'AI and Games' for educational videos and essays:
    / @aiandgames
    My second channel 'AI and Games Plus' is dedicated to bonus content, deep-dive analysis, revisiting old topics and more:
    / @aiandgamesplus
    Listen to my podcast 'Branching Factor', as I discuss game development and research with my co-hosts and guests:
    shows.acast.com/branchingfactor
    Watch Livestreams: / aiandgames
    Join our Community: discord.aiandgames.com
    Buy our Merch: store.aiandgames.com
    --
    You can support AI and Games via Patreon and UA-cam memberships, and in return, you get bonus rewards!
    / aiandgames
    www.youtube.com/@AIandGames/join
    --
    Follow 'AI and Games' on social media.
    Twitter: / aiandgames
    Mastodon: mastodon.gamedev.place/@AIand...
    TikTok: / aiandgames
    --
    If you're interested in working with us, check out the following:
    Business Enquiries: contact@aiandgames.com
    Arrange Meeting: calendly.com/aiandgames
  • Ігри

КОМЕНТАРІ • 64

  • @AIandGames
    @AIandGames  11 місяців тому +56

    A special thanks to friend of the channel Alan Zucconi for sharing with me the link to the original blog post by Matthew Davis. It's nice to have friends who share game development blog posts with you. 😄

  • @GameDevYal
    @GameDevYal 11 місяців тому +209

    Apart from balance, randomly picking one of the best options also makes the AI less predictable - if players can engineer optimal conditions to trick the AI into doing what they want 100% of the time, it becomes too easy to cheese the game.

    • @timbus2
      @timbus2 11 місяців тому +16

      Exactly. I was kind of hoping for more secret tips that would help me be better at the game, but at least this one does not help much. 😅

  • @jasonyesmarc309
    @jasonyesmarc309 10 місяців тому +27

    One of the greatest bits of advice (which I think I've learned from this channel) is that the opponent AI does not need to be competent in the game; it just needs to be fun and engaging.

  • @merthyr1831
    @merthyr1831 10 місяців тому +19

    At university I made a pacman clone with custom levels. I didn't know much about implementing A* or even Pacman-like pathfinding and just made the ghosts move randomly every time they came to an intersection or corner. That, along with the fact I had to run pathfinding twice per frame because for some reason running it once led to ghosts ignoring the walls meant the "AI" was actually quite fun to play against, and my tutor thought it was way more complex than in reality :^)

  • @mkrichey1
    @mkrichey1 10 місяців тому +18

    There is an unreasonable amount of power in simplicity, I like that the devs chose not to over complicate things :)

  • @GMTK
    @GMTK 11 місяців тому +28

    Killer thumbnail 🫡

  • @Spyder638
    @Spyder638 11 місяців тому +44

    I've been working on a grid based puzzle game lately, and the video feels perfectly timed. Even though the video is AI-focused, the concept can apply well to lots of different systems and gameplay decisions. Weirdly enough, I made this realisation through Zachtronics, who's games are known to be quite complex to play, but some of his puzzles like Dungeons & Diagrams can be entirely played on paper. With the game I'm creating, I'm very much always reeling it back in to "good enough", and the gain is that I get to keep things simple.

  • @jaha9329
    @jaha9329 11 місяців тому +19

    Oh no, you gonna make me play it again!

    • @AIandGames
      @AIandGames  11 місяців тому +1

      Mwa ha ha ha

    • @beesi4932
      @beesi4932 11 місяців тому +2

      Yup, just seeing this video is giving me the itch for it as well.😆

  • @christopherbennett1173
    @christopherbennett1173 10 місяців тому +16

    Into the breach needs more love in the gaming community. Such an amazing game

  • @machelul
    @machelul 11 місяців тому +34

    Never thought of Into the Breach's scenarios as a puzzle to be solved. Really interesting.

    • @BrunoHenrique-gi1wd
      @BrunoHenrique-gi1wd 10 місяців тому +2

      every task you ever try to do is, or was at some point a puzzle :P
      Even things that now come with instructions, at one point someone had to figure it out.

    • @michaelcalvin42
      @michaelcalvin42 10 місяців тому +5

      I've always felt Into the Breach was best described as "Kaiju Chess." It definitely always felt like a puzzle game to me. A puzzle game with a lot of variables, but a puzzle game nonetheless.

    • @machelul
      @machelul 10 місяців тому

      @@michaelcalvin42 Smart of your part, I guess to a certain extend I was using puzzle solving skills but from a more reactionary place.
      I'm thinking of approaching the game again but with this kind of mindset.

    • @AlexOrtiz-iv7tn
      @AlexOrtiz-iv7tn 5 місяців тому +3

      lol I figured that out after playing Into the Breach and having to pause my podcast so I could 'think" about how to win a level, and suddenly I realized I never had to do that during FTL. In FTL it was always just instinctual reaction, but Into the breach makes me stare at a screen in silence for 10 minutes.

    • @dyciefisk2535
      @dyciefisk2535 5 місяців тому

      I've definately pitched this game to friends as "Pacific Rim, but a highly stressful puzzle game"

  • @fiszu4075
    @fiszu4075 17 днів тому +1

    I discovered Into the Breach before FTL and was allways puzzled why it was less popular than FTL. It is such a good game.

  • @philrod1
    @philrod1 11 місяців тому +10

    Balancing is something that "the doc" and I often talk about. Basically, how good is too good? If a player cannot win, that's gonna suck. But it also kinda sucks if the AI is obviously doing dumb moves. I feel like there's a whole research field on making really good "bad" AI

    • @AIandGames
      @AIandGames  10 місяців тому +7

      Yeah it's something you don't really hear discussed in academic circles, and I suspect there's a lot of 'dark arts' hidden throughout the industry on how to do this.

    • @BaddeJimme
      @BaddeJimme 10 місяців тому +3

      Smart AI is not the same as having a difficult game. You can have an easy game with smart AI, or a hard game with stupid AI. Generally you should just make the AI fun to play against and balance the difficulty through other means.

  • @MurioSa
    @MurioSa Місяць тому +2

    This game showed me that there are no inescapable situations in life

  • @ash_dies_alone1940
    @ash_dies_alone1940 10 місяців тому +5

    i'd love to see a video on rain world's AI on this channel, while not the most complex nor the most simple, the interactions it has with the player, the environment and other creatures' AI is astounding

    • @juergenkern6763
      @juergenkern6763 Місяць тому

      I thought rain world had one of the most complex ai ...

  • @MrGreenTabasco
    @MrGreenTabasco 10 місяців тому +7

    Tbh I wished for a bit more indepth discussion. Most of what was said I could gleen when the game releasedy but was very, very interested in the more intricate "small balance decisions" that make sure the levels stay solvable. Unfortunately these detaiks were handwaived, which makes me question of the author thinks of the viewers not interested/capable of understanding, or that they just don't know either, and are just regurgitating what they have read in a recent interview.

  • @EmyN
    @EmyN 3 місяці тому

    Great video! Very clear and concise explanation, and overall polished video, subscribed

  • @greedy_onigiri
    @greedy_onigiri 5 місяців тому

    Wow I had great time eating lunch and watching you explain the power of simple AI on one of my favorite games. Definitely going to check more videos out!

    • @AIandGames
      @AIandGames  5 місяців тому +1

      Thanks for watching and commenting. Much appreciated! 😁

  • @Rainmaker1O
    @Rainmaker1O 11 місяців тому

    Great episode! :D

  • @diegonorambuena507
    @diegonorambuena507 11 місяців тому +6

    Thanks for sharing the source, it's really interesting but difficult to find good articles about videogame AI that implements Utility AI

    • @AIandGames
      @AIandGames  11 місяців тому

      So I linked to my AI 101 video on Utility AI in the episode, and in that video I point to some book chapters that cover it. Plus my recent episode on Halo Infinite also discusses utility AI applications.

  • @dwighttheislander7369
    @dwighttheislander7369 2 місяці тому

    Now that I think about it, there are a bunch of in game dialogue that just straight up calls the Veks stupid

  • @LoLoercaust
    @LoLoercaust 11 місяців тому +6

    one of my favorite games and a great video while the AI may be simple if definitely feels like they know your next move sometimes😅

  • @rei1789
    @rei1789 10 місяців тому +1

    Easily one of my favorite games of all time.

  • @JM_Traslo
    @JM_Traslo 11 місяців тому +1

    It would be very interesting to see you break down traditional turn-based DungeonRPG AI, e.g. Wizardry games, or Etrian Odyssey (now that it has PC/Switch remasters instead of being on the DS.)

  • @AlanZucconi
    @AlanZucconi 11 місяців тому +3

    Thank *YOU* so much! 🙏

  • @xq10xa
    @xq10xa 9 місяців тому

    This video changed the way I Look at the game

  • @jamesbrincefield9879
    @jamesbrincefield9879 4 місяці тому +1

    Does anyone know what Subset Games has been working on since AE released?

  • @notgate2624
    @notgate2624 Місяць тому

    sooo how did he prevent them from making moves that result in an unsolvable state? I'm guessing it can still happen then?

  • @tanael
    @tanael 10 місяців тому +1

    I really, _really_ wanted to like this game, but something, some deficiency in my brain, leaves me hilariously and utterly unable to understand strategy games, even ones distilled to their essence, like ITB. For another example of how bad I am, there's a scenario in one of the Advance Wars games that places you and the AI on a small, roughly symmetrical island with choke points on the top and bottom of the map; the closest I have ever gotten to beating that scenario is a stalemate.
    By contrast, Doom Eternal on Nightmare difficulty Extra Lives mode (I am not nearly good enough for Ultra Nightmare) was very much a surmountable challenge for me, so I don't think I'm a *total* idiot.
    I just wish I could get strategy :(

  • @svperuzer
    @svperuzer 11 місяців тому +1

    Can anyone recommend any good game developer blogs?

    • @BlueDog15391
      @BlueDog15391 5 місяців тому

      I wish I knew more examples, but Factorio devs have a very nice blog.

    • @svperuzer
      @svperuzer 5 місяців тому

      @@BlueDog15391 cool

  • @dongbeng
    @dongbeng 11 місяців тому

    Hmm. I never got the hang if this game. I'll try again with a puzzle game approach.

    • @restlessfrager
      @restlessfrager 11 місяців тому +7

      Winning reliably seems like it depends on RNG until you realize how the bug AI works and bait them into artacking your own mechs, which you can simply move to negate the attack, instead of letting them target buildings which are much more expensive action-wise to save.

  • @jocamar15
    @jocamar15 11 місяців тому +2

    Good video but I don't really see the point in categorizing this as a "utility AI system". Basically every kind of AI out there is a "utility AI system" in that it almost always uses some form of heuristic or scoring system to make its choices. It seems like a very broad category that doesn't actually say anything about the AI.

  • @bcn1gh7h4wk
    @bcn1gh7h4wk 3 місяці тому

    19% defense: _whoosh!_ *PING!* "Blocked!" _whoosh!_ *PING!* "YES!" _whoosh!_ *PING!* "OMG. HOW."
    27% defense: _whoosh!_ *CRASH* "Dammit." _whoosh!_ *CRASH!* "FUCK!" _whoosh!_ *CRASH!* "...bruh."

  • @aymacaymacunt814
    @aymacaymacunt814 10 місяців тому

    Really annoying how the game title keeps jumping to different corners during the various clips.

  • @soloshottie
    @soloshottie 11 місяців тому +5

    that "unsolveable" state is why I hate turn based games. few devs even consider such a situation, and even when handled at best it's unreasonable to expect it to be completely gone. RTS' almost have a similar issue, but not to the extent turn based games do

    • @dyciefisk2535
      @dyciefisk2535 5 місяців тому

      I've come to appreciate that, while some turns may be actually unsolvable, it's not the end and mission turns to damage mitigation.
      The Kobiashi Maru was an apt comparison. I've had missions where I could barely complete one mission and lost 3 grid, but went on to finish the island.

  • @CaptainJeoy
    @CaptainJeoy 11 місяців тому +2

    Occam's razor

  • @parthenocarpySA
    @parthenocarpySA 10 місяців тому +2

    Into The Breach is a problem solving game, not a puzzle game. Puzzles have one solution.

  • @wanttobeprivate7466
    @wanttobeprivate7466 10 місяців тому

    I feel like there's at least a small amount of Myopia around ITB, it's a fun game but it neither draws me back to play it nor even really left any memorable moments. The AI wasn't terribly challenging beyond the first few attempts when I was still getting used to it, the terrain was far more of a gameplay affecting element.

  • @Thisisthegreatestatofalltime
    @Thisisthegreatestatofalltime 10 місяців тому

    Keep it simple stupid isn’t great for writing though, despite what a certain Bethesda head writer may say. I miss when the writing in Bethesda games was actually good.
    Like the amount of depth to the lore of Elder Scrolls is insane but then you play Skyrim and it just felt like they never tried to add any depth to the main story or most of the side quests. Don’t even get me started about the awful writing of the 3d Fallout games not named New Vegas (different dev).
    I know this is completely unrelated but Bethesda just made me despise that phrase.

  • @j.d.4697
    @j.d.4697 11 місяців тому +2

    I disagree. Simplicity is what makes game AI feel so dead.
    Of course complexity doesn't necessarily translate into more varied responses.

    • @whannabi
      @whannabi 11 місяців тому +4

      Trying to put chat gpt or whatever overcomplicated thing into your game doesn't make it better. You gotta know when to stay simple.

    • @mariofun21
      @mariofun21 10 місяців тому +1

      thankfully the AI is not pulled out often enough to notice it
      like you don't have to make moves at the same time the AI is also doing it and thus learning the AI would help, but for turn-based with relatively few moving parts, it is perfect
      also doesn't help that you are probably holding your head because sometimes it's wtf there are 4 threats and 3 of you

  • @EugenijusKrenis
    @EugenijusKrenis 11 місяців тому +2

    Ngl it pains me to watch the game footage because there's so many cool moves you could have pulled but you're just meandering ;_;

    • @AIandGames
      @AIandGames  11 місяців тому +7

      Professionally meandering thank you very much. 😉

  • @Guron90
    @Guron90 8 днів тому

    chess simulator pretending to be battletech game. thumbs down.

  • @Fluxquark
    @Fluxquark 10 місяців тому

    This video is 90% padding and has 2 intros before you even begin explaining something. And then you don't even explain how the developers actually managed to keep the game solvable, which is the real question I have about the AI.

  • @lufasumafalu5069
    @lufasumafalu5069 7 місяців тому

    failed game , compared to FTL this is a joke of a game