How does videogame AI find its path and beat you at chess? (MiniMax, Dijkstra, A*) | Bitwise

preview_player
Показать описание
This video was sponsored by Brilliant.

How does the Artificial Intelligence (AI) work in video games? In part 1 of this video we will show how you can make an AI that can beat you at tic-tac-toe or chess and how NPCs can find their way to their destination in a digital world.

I will explain MiniMax trees and pathfinding algorithms such as Breadth-First Search, Dijkstra's Algorithm and A*.

Timestamps
0:00 Intro
3:00 How do MiniMax trees work?
7:05 How does Breadth First Search work?
8:24 How does Dijkstra's Algorithm work?
10:15 How does A* work?
12:05 Conclusion

Music in in outro:

References
Рекомендации по теме
Комментарии
Автор

The Pacman AI is MUCH more than just picking a random direction half the time! Your explanation is fine, but the REAL behaviour is much more interesting and complicated

Krantz_
Автор

First time that I visualize A* working! Damn! That actually opened up new ideas, thank you!

psyboyo
Автор

Heerlijk om te horen hoe je Dijsktra correct uitspreekt

degamevlog
Автор

WOW that A* explanation blew my mind! Such an elegant solution to produce massively better results.

techdeth
Автор

1:22 because they don't use random chance at all, there's a whole video explaining it

JoyousCreeper
Автор

Well, finally I've watched it. Great video.

ORANOID
Автор

Thank you for these videos, they are always a treat <3

forrealfrfr
Автор

Nice! How many parts will the series have?

Relivino
Автор

He didn't forget the catchphrase this time!

quentinmcwimberton
Автор

this video made me remember this time when my comp sci teacher made us code the dijkstra algorithm back in 12th grade, tough times 😂

ups_
Автор

Nice tutorial.
I wish I saw it earlier

nikozdev
Автор

That is not even close to how the Pac-Man AI works.
If someone reads this and are curious how it really works watch the YouTube-video "Pac-Man Ghost AI Explained" by "Retro Game Mechanics Explained".

TarenGarond
Автор

Everyone knows chess was invented by Gary Chess.

moth.monster
Автор

Fix the thumbnails and title!!!

Seeing these new videos have so few views really hurts to see. And I'm going to be honest, the videos are very good, but the thumbnail and title just straight up doesn't fit the content. They both look as if this is going to be a long, dry, multipart tutorial about it. Not a interesting, well illustrated educational video.
These new two videos could probably have so much more views if only the title and thumbnails where fixed.

Both Linus (LTT) and Jimmy (MrBeast) have extensively talked in podcasts about just how huge of a difference both the title and thumbnail can make to a video, and that even changing them on old videos can cause huge influxes of views. (I would strongly recommend Lex Freidman's episode with MrBeast. Even if you don't like MrBeasts content, he is by far the largest channel on youtube (that isn't a large corporate brand channel), and he does know what he is talking about)

Take a look at channels like Tom Scott, Atomic frontier, Captain disillution, SmarterEveryDay and many more. They all have rather short, enticing and to the point titles, that doesn't feel clickbaity. Yes some have longer titles, such as SmarterEveryDay, but instead the videos are backed up with awesome thumbnails.
This videos title as an example doesn't even fit, it has to be cut of with "..." in the end. You don't really need to mention MiniMax, Dijkstra or A* in the title. Instead let the description host all the excess information that isn't strictly needed for a new viewer. The title is meant to be, well a title, not a full explanation what the videos is about, thats what the description is for.

But don't feel as if I'm attacking your channel, I have way less actual practical experience about this than you do. I'm just saying what my gut feeling is saying, and my gut is in no way shape or form an expert in this field. So don't assume I really know what I'm talking about, do your own research. However I can with strong certainty say that they are far from optimal as they are now.

algotn
Автор

Hey, can someone explain to me what is MiniMax Tree

liamdrun
Автор

Great vid.
One little question, did your English decline from a couple years ago? Like your dutch accent is more pronounced then roughly 2 years ago.

SqualidsargeStudios