CrashCourse · @crashcourse
AI Playing Games: Crash Course AI #12
Uploaded June 7, 2020 · Length 11:31
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.
- 0:09
Jabril: D7 John-Green-bot: Miss.
- 0:29
John-Green-bot: I-9 Jabril: NOOOOOOOOOO
- 0:41
Hey, I’m Jabril and welcome to Crash Course AI!
- 0:45
John-Green-bot might struggle with some things like natural language processing and moving
- 0:48
through the real world, but using AI he’s pretty good at board games.
- 0:52
AI researchers spend a LOT of time trying to teach AI how to beat humans at games, & this
- 0:57
isn’t just because games are fun.
- 1:00
Games provide constrained scenarios for testing new AI algorithms and approaches.
- 1:04
In a game, it’s easy to know whether the AI is winning or losing, because there’s
- 1:08
usually a score or some objective measure of “winning.”
- 1:11
This is great because AI learns from examples, trying things out, and slowly improving.
- 1:16
Games basically provide their own training data, which is a big relief because AI systems
- 1:21
need lots of training data to get really good.
- 1:24
An AI can even play against itself to generate training data and evolve better game strategies.
- 1:29
Or an AI can be programmed to look at previous games (even games played by expert humans)
- 1:34
for strategies that lead to victory.
- 1:37
Comparing AIs against expert human gamers can also help us figure out how an AI is improving
- 1:41
over time.
- 1:42
This comparison also gives us a sense of the difficulty of problems an AI can solve.
- 1:47
In other words, if I can teach John-Green-Bot to beat me at battleship, I can probably also
- 1:52
teach him to beat me at any game that’s simpler than battleship.
- 1:55
Finally, games are cool (and that’s important too!).
- 1:59
Sometimes AI programming can feel a bit difficult or dry because of all the math and troubleshooting,


