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

Coding Spot
Coding Spot
50.4 هزار بار بازدید - 3 سال پیش - In this tutorial I will
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 (...
- Windows Setup: How to Install Python + PIP + Sublime...
- Mac Setup: How to Install Python + PIP + Sublime...

FOLLOW FOR MORE:
💥 GITHUB: https://github.com/AlejoG10
💥 INSTAGRAM: 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
3 سال پیش در تاریخ 1400/10/30 منتشر شده است.
50,489 بـار بازدید شده
... بیشتر