Adding Computer Player Using Minimax Algorithm

Publicado el: 05 marzo 2024
en el canal de: itsValle Web
230
10

Learn how to use the Minimax algorithm to add a computer player to a game like Tic-Tac-Toe, as well as optimizing it using Alpha-Beta Pruning

Code : https://github.com/valle572/tic-tac-toe
Tic-Tac-Toe Tutorial :    • Easy Tic-Tac-Toe Game Using JavaScript  

*Depth Parameter*:
The depth parameter can be used to stop the recursion at a specific level. For example, in Chess you may only be able to go 3 or 5 moves ahead before your algorithm begins taking too long. This is due to the amount of possibilities in Chess. For a small game like Tic-Tac-Toe, you can look through all of the possibilities without a noticeable performance hit.

Timestamps:
0:00 - Introduction
0:20 - What It Is
0:47 - How It Works
2:35 - How to Optimize It
4:47 - Using It in Tic-Tac-Toe


En esta página del sitio puede ver el video en línea Adding Computer Player Using Minimax Algorithm de Duración hora minuto segunda en buena calidad , que subió el usuario itsValle Web 05 marzo 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 230 veces y le gustó 10 a los espectadores. Disfruta viendo!