Algorithms Explained – minimax and alpha-beta pruning

Algorithms Explained – minimax and alpha-beta pruning

Sebastian Lague

6 лет назад

1,082,495 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Tidal_Games
Tidal_Games - 27.09.2023 23:47

I love and appreciate this video thank you

Ответить
Blake Runyon
Blake Runyon - 20.08.2023 02:40

I can hear ever morsel of liquid in your mouth. Good content, change your mic lol

Ответить
Shadow Zero
Shadow Zero - 18.08.2023 16:08

I study computer science at the TU in Berlin Germany and had really big problems with this algorithm!

So ty a lot! You probably safed a few points for me!

Ответить
TaeLocal XO
TaeLocal XO - 08.08.2023 02:51

wow this is an amazing explanation and really made be feel excited when I finally understood

Ответить
YUWEN QIu
YUWEN QIu - 31.07.2023 03:59

So good ❤

Ответить
sajid Ali
sajid Ali - 05.07.2023 21:34

our professor didn't told us it the Childs would be sorted and I was confused as hell. thanks man.

Ответить
Coding
Coding - 04.07.2023 04:14

why not settling for +1 or -1 and go for deeper search instead of pruning with - and + infinity? my bot plays like humans more like Alireza. if he finds a win he will prune everything. +1 or -1 based on the color is enough to give the bot personality. who cares about mate in 3

Ответить
lemonade3532
lemonade3532 - 03.07.2023 20:41

very helpful, saved me from 5 hours of lectures 🔥

Ответить
CChriz
CChriz - 23.05.2023 13:21

amazing video!

Ответить
Thomas Fichtel
Thomas Fichtel - 19.05.2023 16:50

Thanks a lot for this, super simple explanation!

Ответить
Martin
Martin - 12.05.2023 19:18

Now calculate EVERY possible move in chess

Ответить
Alicia Babalwa Mutsauri
Alicia Babalwa Mutsauri - 08.05.2023 10:23

Guys where are these numbers coming from😭

Ответить
Coding
Coding - 28.04.2023 08:53

should have takedn the knight with queen

Ответить
Hắc Spidartist
Hắc Spidartist - 20.04.2023 18:55

This video is masterpiece! Thank you so much ~~

Ответить
El khoualed Ahmed
El khoualed Ahmed - 20.04.2023 15:40

tysm

Ответить
Volkov
Volkov - 09.04.2023 09:34

This man wrapped up this concept in 11 mins whereas my university professor and his TA failed to do so miserably for over 2 weeks.
Our education system sucks. We need more qualified people in our institutes.
Thank you for your efforts @Sebastian Lague.

Ответить
Ricardo Jairo Díaz Barrón
Ricardo Jairo Díaz Barrón - 09.04.2023 02:44

the best explanation bro, thanks from Bolivia

Ответить
Rafa Parkoureiro
Rafa Parkoureiro - 26.03.2023 19:48

visual explanation with the code <3 thanks

Ответить
ras
ras - 26.03.2023 09:36

In engines, doing this recursively will cause a lot of overhead

Ответить
yu xiaofei
yu xiaofei - 01.03.2023 08:13

so clear,this is what call good education video,deep explain,yet damn easy grasp

Ответить
Shahnawaz AbdulRehman
Shahnawaz AbdulRehman - 17.02.2023 00:01

Brother you are a life saver ❤

Ответить
user player
user player - 09.02.2023 15:25

fantastic

Ответить
Zakia Ahmadi
Zakia Ahmadi - 02.02.2023 21:47

My AI professor must watch this and learn how to teach.

Ответить
hairdome
hairdome - 14.01.2023 21:40

i have a question what exactly does alpha and beta mean/represent?

Ответить
Mega
Mega - 02.01.2023 16:08

Thank you so much, fantastic resource

Ответить
Yevhenii
Yevhenii - 28.12.2022 04:17

For me, this video has pruned hours of searching for how this algorithm works. Thank you so much for this nice and clear explanation!

Ответить
luku
luku - 27.12.2022 21:20

depth <= 0

Ответить
Yualse
Yualse - 21.12.2022 23:34

I love you so much, you don't have any idea this video how much helps me. Thank you so much again ❤️

Ответить
Elif Arslan
Elif Arslan - 20.12.2022 00:08

thank you

Ответить
Nabin Khanal
Nabin Khanal - 19.12.2022 22:49

Wow!!!

Ответить
HBCoding
HBCoding - 13.12.2022 00:41

Thank you so much for this. Many people explain minimax codes and alpha beta pruning, but none that I have seen actually gave some sort of coding example. Thank you for this. its amazing.

Ответить
Omri Tahar - Yakim Games
Omri Tahar - Yakim Games - 08.12.2022 19:15

You scratch the insides of my brain. Thank you.

Ответить
Dieu Lam
Dieu Lam - 01.12.2022 13:03

amazinggg!!! You explained better than my teacher at school

Ответить
Cyrax LK4D4
Cyrax LK4D4 - 25.11.2022 15:03

Thank you for this video, it's been really helpful

Ответить
Jonas
Jonas - 23.11.2022 17:33

du, det er jo bare ta litt vekk fra treet.

Ответить
Sam Alhabash
Sam Alhabash - 16.11.2022 12:15

This is a nice and intuitive explination. Thanks!

Ответить
Hamza Omari
Hamza Omari - 12.11.2022 18:09

You're mic is so good that makes me hear your tongue voices, I hate it. Therefore I will leave a dislike.

Ответить
Mewcancraft
Mewcancraft - 04.11.2022 15:45

For some ungodly reason, alpha-beta keeps reappearing in my university courses. This is the third year in a row that I'm referencing this video -- and it delivers every time.

Ответить
e u
e u - 02.11.2022 18:23

I really enjoy the way you combine the code with the visualisation, it is so impressive!

Ответить
Togrul Asadov
Togrul Asadov - 30.10.2022 23:46

Thanks man, your explanation helped me a lot.

Ответить
Sabeel
Sabeel - 30.10.2022 18:38

I now understand why my tic tac toe game chose an extra move, my algorithm wasn't pruning.

Ответить
Lucas S.
Lucas S. - 30.10.2022 03:14

This is one of the best explanations I've come across. I'm currently programming a Ruby chess game and this is invaluable. Thank you so much!

Ответить
moxxy
moxxy - 30.10.2022 01:45

I finally got a simple tic tac toe minimax working after weeks 😭 this video was a huge help

Ответить
Rafa
Rafa - 26.10.2022 21:40

you're a god man, thank you

Ответить
İLKE YİĞİTER
İLKE YİĞİTER - 07.10.2022 11:15

Incredible...I listened to an hour long lecture without understanding it and all I needed was a 11min video.

Ответить
William Coggins
William Coggins - 04.10.2022 20:54

Amazing content! Thank you :D

Ответить
Rajivrocks Ltd.
Rajivrocks Ltd. - 03.10.2022 02:33

Can Alpha beta pruning have another path to the optimal state?

Ответить
Unreal DevOP
Unreal DevOP - 30.09.2022 23:45

I had a hard time understanding: You say White is the Maximizing Player....but is White the player that goes first? I'm thinking that is important.
I tried to implement this and I'm having issues...maybe it's my score or how I'm checking for a win

Ответить