In this tutorial I will show how to code Google's Tic Tac Toe using Python and it's Pygame module. In this video we will be checking and drawing a player's win, and we will be coding a restart function in order to play again when is game over.
LINKS:
😺 GitHub Repo: https://github.com/AlejoG10/python-ti...
🤖 AI Version: • Coding an Unbeatable Tic Tac Toe AI Using ...
FOLLOW FOR MORE:
💥 GITHUB: https://github.com/AlejoG10
💥 INSTAGRAM: / coding_sp0t
⏱ TIMESTAMPS ⏱
00:00 Introduction
1:08 Declaring Remaining Functions
2:56 Check Win Explanation
4:57 Vertical Win Check
6:28 Horizontal Win Check
7:23 Asc Diagonal Win Check
8:10 Desc Diagonal Win Check
9:00 Vertical Winning Line
10:57 Horizontal Winning Line
12:10 Asc Diagonal Winning Line
12:49 Desc Diagonal Winning Line
13:23 Check & Draw Win Test
14:45 Gameover Variable
16:31 Restart Function
18:15 Final Game Test