Tic Tac Toe Gameplay Logic - PyQt5 GUI Thursdays #32
Автор: Codemy.com
Загружено: 2021-09-30
Просмотров: 5305
Описание:
In this video I'll show you how to build out the Logic for our Tic Tac Toe game.
There are basically 8 winning possibilities in tic tac toe (3 across, 3 up and down, and 2 diagonal).
In this video we'll go through all of these options and create logic to recognize winning games.
#pyqt5 #codemy #JohnElder
Timecodes
0:00 - Introduction
1:12 - Create checkWin() and win() Function
2:04 - Run checkWin() On Button Click
3:34 - Check Top Row Clicked
5:40 - Update Win() Function Label And Colors
7:32 - Disable Buttons On Win
8:33 - Reset Button Colors After Game
9:27 - Create Logic For All Possible Winning Games
15:36 - Conclusion
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: