Coding an Unbeatable Tic Tac Toe AI Using Python and the Minimax Algorithm

Pubblicato il: 20 gennaio 2022
sul canale di: Coding Spot
61,235
1.2k

In this tutorial I will show how to code an unbeatable AI to play against in Tic Tac Toe using object oriented programming, the minimax algorithm (game theory), Python and its Pygame module.

LINKS:
😺 GitHub Repo: https://github.com/AlejoG10/python-ti...
Classic Tic tac toe Tutorial:    • Tic Tac Toe Using Python and Pygame (Part ...  
Windows Setup:    • How to Install Python + PIP + Sublime Text...  
Mac Setup:    • How to Install Python + PIP + Sublime Text...  

FOLLOW FOR MORE:
💥 GITHUB: https://github.com/AlejoG10
💥 INSTAGRAM:   / coding_sp0t  

⏱ TIMESTAMPS ⏱
00:00 Introduction
03:49 Screen & Background
17:43 Console Board
31:06 Drawing Figures
43:46 Board Functions
59:38 Minimax Explanation
1:13:21 Random AI
1:22:49 Minimax Function
1:40:17 Keyboard Events
1:49:40 Fix Bug
1:54:10 Show Wins
2:04:07 End


In questa pagina del sito puoi guardare il video online Coding an Unbeatable Tic Tac Toe AI Using Python and the Minimax Algorithm della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Coding Spot 20 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 61,235 volte e gli è piaciuto 1.2 mille spettatori. Buona visione!