
Learn to build gui games in python with tkinter by exploring widgets, event handling, and simple 2d animation, through a step-by-step, beginner-friendly course.
Install Python on Windows by downloading the latest version in a browser, running the installer, and verifying the installation with the command prompt by checking the Python version.
Install and verify pip by running the pip command in the command prompt, download get-pip.py if needed, then run python get-pip.py and check with pip --help or pip -V.
Learn to install PyCharm Community Edition on Windows by downloading the installer, selecting the community edition, and restarting your computer.
Create and configure the main window in Tkinter by importing the module, initializing the root, setting the title and geometry, and controlling resizability, all within the main loop.
Learn to display images in tkinter by creating a PhotoImage object and assigning it to a widget's image parameter, such as labels or buttons, with proper file paths.
Learn how to set a custom icon for a Tkinter main window by importing PhotoImage, creating an image object, and attaching it to the window to replace the default icon.
Explore how to create and customize Tkinter label widgets in Python, displaying text or images with options for anchor, border, colors, font, and layout using pack and configurations.
Explore the three Tkinter display methods—pack, grid, and place—for arranging widgets, including how grid uses rows and columns and place uses x,y coordinates.
Create a Tkinter button in Python, displaying text or an image and triggering a handler with the command option. Customize size, border, font, and layout using grid, or place.
Discover how to display Tkinter message boxes, including info, warning, and ask dialogs, with titles and messages, and handle user choices via return values.
Explore how to create and customize a Tkinter checkbutton in Python, including setting text, command callbacks, on and off values, and visual options like font, color, image, and layout.
Learn to implement radio buttons in Tkinter, bind commands, and retrieve selections with a variable; create multiple options, set defaults, and customize with images, text, background and foreground colors.
Create a Tkinter progress bar to show 0–100% in a main window with horizontal or vertical orientation. Start it with a button and refresh using update idle as it increments.
Learn to create and manage a listbox in a Python GUI, insert items, and use get, delete, size, and cursor selection for single or multiple item selection.
Explore the combobox widget in Tkinter, creating a dropdown list that allows selecting or entering values, with optional read-only mode, value binding, and event handling to display the selected item.
Explore the Treeview preview widget in Tkinter to display data in a tabular, Excel-like format with configurable columns, headings, and editing capabilities, including adding rows and centering text.
Master the entry widget in Tkinter by accepting single-line input, retrieving it with get, and clearing with delete, while configuring borders and fonts.
Discover the scale widget in Tkinter, learning how to set a value within a defined range, orient the slider, and use set, get, and command callbacks to interact.
Learn how to use the Tkinter text widget for multi-line user input, including creating the widget, configuring size and style, and performing insert, get, and delete operations.
Learn to open a color chooser dialog in a Tkinter app, capture the color as RGB and hex values, and apply it to a widget such as the button background.
Learn to use the frame widget in Tkinter to group widgets as a container, set size and background, and place inner controls like labels, buttons, and login forms.
Learn to create a top level window in Tkinter above the main window. Add a button to open the top level, set geometry, and enable resizing.
Learn how to add a scrollbar to a Tkinter text widget in Python, including vertical placement, linking the scrollbar with the text using command and configure methods, and handling scrolling.
Explore the scroll text widget in Tkinter, which combines a text area with an automatic scrollbar to display long content without extra scrollbars.
Explore the spin box widget in Tkinter, letting users pick from a fixed value range with arrows or the mouse, and bind a change handler.
Learn about label frame, a Tkinter container that groups widgets and can display a text label. Use pack or grid to display labeled frames with a customizable size and border.
Learn to create a Tkinter menu button with a dropdown and attach options. Bind commands to handle actions like open within a Python GUI.
Explore how to create and use separators in Tkinter to visually divide widgets with horizontal and vertical lines, control orientation, and place them with pack, grid, or place.
Discover how the sizegrip widget resizes a Tkinter window, then place it using pack and the anchor southeast to position the control at the bottom-right corner.
Learn how to draw lines on a Tkinter canvas by creating a canvas, configuring its size and background, and using create_line with coordinates for horizontal, vertical, and centered lines.
Learn to draw circles and ellipses on a canvas by specifying start and end x and y coordinates, adjusting radii, and placing a centered circle.
Learn to create rectangles and squares on a Tkinter canvas using create_rectangle, adjust coordinates, apply fill colors, and customize border width.
Learn to display an image on a Tkinter canvas by creating an image object, setting its position and size, and rendering it on the canvas.
Create arcs in canvas by setting start and end positions and an extent to control angles, then apply fills. Learn to return arc data and delete or hide the arc.
Create polygons on a 400x400 canvas with tkinter's create_polygon by plotting points to form triangles, squares, and other shapes, and adjust fill and outline colors.
Learn to build a 2D animation in Python's Tkinter by drawing and animating an arc on a canvas with create_arc, a start button, updates, and color variations.
Create a two-dimensional animation by drawing a circle on a canvas and moving it with the move method, using a loop and delays to control the motion in Tkinter.
Learn to add a menu bar to a Python Tkinter app, create file and edit menus, bind actions to items like open and save, including checkbuttons, radio buttons, separators.
Learn to build a tabbed interface with a notebook widget, creating multiple tabs each with its own frame, labels, and buttons, and customize with height, width, and padding.
Explore the file dialog box used for opening one or multiple files or directories and saving files, including options like initial directory, title, and file types.
Explore binding keyboard events in a Python GUI app using bind, handling key presses, and displaying results with a label. Learn about key symbols and event objects for dynamic responses.
Learn to move a Tkinter label using keyboard events by binding arrow keys to handlers that read and update the widget x and y coordinates, enabling keyboard-driven GUI navigation.
Learn to handle mouse interactions in Python GUI with Tkinter by binding left and right clicks, releases, enter/leave, and motion events, and display real-time cursor coordinates and click feedback.
Learn to drag and drop widgets in Tkinter by binding mouse events, calculating offsets, and repositioning labels and buttons within the main window.
Learn to create and activate a python virtual environment, install packages with pip, and manage or list installed packages to maintain a clean project workspace.
Install pygame by activating the selected setup, running the required scripts, and verifying the installation with a command to confirm the package is listed.
Build a rock paper scissors game with a Tkinter GUI, featuring a start button, real-time score tracking, and computer choices made randomly to determine wins, losses, and ties.
Build a rock paper scissors UI in Python with Tkinter, create a main window, left/right player and computer labels, and three image buttons with score and status displays.
Integrate functionality in a Tkinter Python GUI game by mapping choices to images, updating a big image display, and using a random computer choice with score and background music.
Build a tic-tac-toe game with a computer opponent, featuring moves with X and zero, a live scoreboard, and replay options in a Python GUI.
Create a tic tac toe UI in a Tkinter main window with a 3x3 grid of nine buttons, score labels for user and computer, and a replay button.
Implement a Tkinter-based tic-tac-toe game in Python by building a 9-button grid, binding mouse events, and coding AI moves, win detection, score tracking, and replay/reset functionality.
Add music integration to the Tkinter tic tac toe game by initializing the mixer, loading tracks, playing music for user and computer choices, and linking animation to button states.
Explore building a simple color ball game in Tkinter, where players press the button matching the on-screen ball to increase the score.
Create a tkinter-based UI for a color ball finding game by building a main window, start button, score label, and a two-row, five-button color palette with a canvas area.
Implement a Tkinter color ball game: add a start countdown, spawn random colored balls on a canvas, bind clicks to score, and integrate background music.
Build a drag-and-drop image arrangement game in Python GUI with Tkinter by assembling nine parts into the correct positions, with shuffled layouts on play.
Create a Tkinter UI that splits a main image into nine parts, displays them in a 3x3 grid, and supports selecting, arranging, and playing the assembled image.
Integrate a Tkinter GUI puzzle where image parts are draggable, randomly positioned, and checked against coordinates to win after all nine pieces align, with background music.
Welcome to the "Python GUI and Games with Tkinter: Build 5 GUI Games" course, a Tkinter is the standard Python interface for developing GUI. Python with Tkinter is the fastest and easiest way to create GUI applications. This course is created in a way that even a newbie can follow. Whether you have some experience in creating GUI using PyQt or any other framework or you are completely new this course is just right for you.
In this course first, you will learn Tkinter widgets that are used to make your GUI application. You will learn how to use widgets, how to customize them, how to change their properties, and a lot more. Then we are going to use all these widgets to make our GUI Games.
I will start by helping you get install needed things on your system, which includes Python, pip, and, PyCharm IDE, after that we will install the required packages as and when needed.
Tkinter widgets include:
MainWindow
PhotoImage
Label
Entry
Button
messagebox
Checkbutton
Radiobutton
Scale
Listbox
colorchooser
Text
filedialog
Menu
Frame
Toplevel
Progressbar
Canvas
Scrollbar
ScrolledText
ComboBox
TreeView
Spinbox
LabelFrame
Menubutton
Separator
Sizegrip
and muny more!
Then we are going to learn how to catch events.
Key Events from the Keyboard
Mouse events
Once we are done with the widgets, you will take a big leap and we are going to make games using Tkinter.
You will make the below games along with the course.
Game - 01: Rock paper scissors
Game - 02: tic tac toe
Game - 03: Color Ball Finder
Game - 04: Make an image from the image part
Game - 05: Flip a Card ( Card pair)
You will get lifetime access to all the lectures.
So what are you waiting for? Start creating an Awesome GUI application with me most easily and practically and boost your career.