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

Veröffentlicht am: 20 Januar 2022
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Coding an Unbeatable Tic Tac Toe AI Using Python and the Minimax Algorithm mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coding Spot 20 Januar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 61,235 Mal angesehen und es wurde von 1.2 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!