CrashCourse · @crashcourse

AI Playing Games: Crash Course AI #12

Uploaded June 7, 2020 · Length 11:31

AI Playing Games: Crash Course AI #12

Summary

Learn how AI plays games, from simple tic-tac-toe using minimax to complex games like chess and Go with Monte Carlo Tree Search.

  • ai game playing
  • minimax algorithm
  • monte carlo tree search
  • ai strategy games
  • deep learning games

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:09

    Jabril: D7 John-Green-bot: Miss.

  2. 0:29

    John-Green-bot: I-9 Jabril: NOOOOOOOOOO

  3. 0:41

    Hey, I’m Jabril and welcome to Crash Course AI!

  4. 0:45

    John-Green-bot might struggle with some things like natural language processing and moving

  5. 0:48

    through the real world, but using AI he’s pretty good at board games.

  6. 0:52

    AI researchers spend a LOT of time trying to teach AI how to beat humans at games, & this

  7. 0:57

    isn’t just because games are fun.

  8. 1:00

    Games provide constrained scenarios for testing new AI algorithms and approaches.

  9. 1:04

    In a game, it’s easy to know whether the AI is winning or losing, because there’s

  10. 1:08

    usually a score or some objective measure of “winning.”

  11. 1:11

    This is great because AI learns from examples, trying things out, and slowly improving.

  12. 1:16

    Games basically provide their own training data, which is a big relief because AI systems

  13. 1:21

    need lots of training data to get really good.

  14. 1:24

    An AI can even play against itself to generate training data and evolve better game strategies.

  15. 1:29

    Or an AI can be programmed to look at previous games (even games played by expert humans)

  16. 1:34

    for strategies that lead to victory.

  17. 1:37

    Comparing AIs against expert human gamers can also help us figure out how an AI is improving

  18. 1:41

    over time.

  19. 1:42

    This comparison also gives us a sense of the difficulty of problems an AI can solve.

  20. 1:47

    In other words, if I can teach John-Green-Bot to beat me at battleship, I can probably also

  21. 1:52

    teach him to beat me at any game that’s simpler than battleship.

  22. 1:55

    Finally, games are cool (and that’s important too!).

  23. 1:59

    Sometimes AI programming can feel a bit difficult or dry because of all the math and troubleshooting,