
TicTacToe in Tkinter - pt.5! Dynamically resize widgets to fill a screen and span multiple columns!!
In this video we continue with the Python graphical user interface module known as Tkinter, and building an application for the classic Tic Tac Toe game!
This is Episode 5 in this series for developing an in depth fully functioning practical game using the tkinter and python modules with pycharm as our IDE. This episode covers resizing buttons and other widgets to span multiple columns or rows, we adjust grid settings and change weighting and indexing for different results, and we cover the 'sticky' method of filling all available space for buttons or labels!
Episode 4 covers handling game over situations when the player wins or loses and reports the winner onto the screen! This completes the necessary functionality for a fully playable tic tac toe game!
Episode 3 covers writing the code for a computer opponent, or AI, to play against. This includes randomly selecting a position, checking to see if it is available, and writing the computer's symbol onto the screen when possible. This also covers tracking in a turn based system, and resetting the game when the max turns is met!
The 2nd episode covers creating a game board with the nine move squares available and creating a universal function that can handle inputs from any button to update with the symbol of whichever player just moved! The first episode covered widgets, labels, buttons, grid layouts, the pack method, and updating formatting and style for the app!
If you have any questions let us know about it in the comments and thanks for watching! If you found this or anything else on the channel helpful please subscribe to our channel and leave us a like on the video!
https://www.youtube.com/channel/UCV5Ab39YnXvTZ6Grar9URxQ
Good luck with you code and thanks for watching!
