
Open IDLE, the Python bundled IDE, and learn to run code in the shell. Create and save a .py file, and use print statements to view output in the console.
Learn to start with Python and Pygame to build 2D games, handle events, and move in any direction while exploring mini games like Pacman and dodge the car race game.
Learn how Python uses magic methods to enable operator overloading, then apply these ideas to 2D game development with vectors, lines, and squares in turtle graphics.
Render four ghosts in Pacman using predefined positions and movement vectors, implement random direction choices within valid tiles, and handle collisions with Pacman before transitioning to Pygame for advanced gameplay.
Learn to draw shapes with the pygame draw module, focusing on the rect method to render rectangles on a surface using x, y, width, height, color, and the top-left origin.
Import the rect function from Pygame and draw a purple 50 by 50 rectangle on the game window surface at coordinates x and y, using the top-left origin.
Master smooth movement in pygame by using a frame per second tick to run the game loop at 30 fps, and keep the rectangle within the window boundary.
Learn to constrain a player in Pygame to a boundary by clamping x and y, using a 50-pixel wide rectangle and window dimensions to prevent crossing walls.
Build a Tron-style game where two players extend lines, collide with boundaries or each other, and rotate with keyboard controls using vector movement, drawing, and head-to-body collision logic.
Build a fidget spinner using python turtle, rotate it with the space key, and vary speed with repeated presses while rendering red, blue, green, and white segments.
Develop a tic tac toe game in Python using Turtle, drawing the grid with lines, rendering Xs and Os, and implementing two-player turns and win conditions.
Build a tiles puzzle game that arranges numbers 1 to 15, scrambles the board, and uses tapping to swap tiles with the empty space, rendering numbered tiles on the board.
Initialize the pygame display and create an 800 by 600 game screen. See how the update call refreshes the screen and why a main loop follows.
Learn the main game loop by building a snake game, handling update cycles and user events from the Bigham module, and introduce the upcoming event handling concept.
Learn to draw rectangles on the game canvas using x and y coordinates, width and height, and color; explore how draw functions and tuples or lists control placement and size.
Handle diagonal movements in the up and down game by syncing x and y coordinates to enforce strict vertical or horizontal movement through event handling.
Define and implement a game loop as the main loop, manage game over state, and handle input to play again or quit, updating the display accordingly.
Implement snake game logic using x and y coordinates and a neck list to represent segments, update growth, and render the head and body on screen.
Learn how to align the game over text within a center-aligned rectangle and position it at the screen center for a polished end-of-game screen.
install cxFreeze and convert your Python game built with the Bigham module into a distributable exe by creating a setup file that defines the executable and included files.
Learn to download and install cx freeze, configure the environment, and build and package a Python snake game for Windows, Mac, or Linux, with administrator privileges when required.
Discover how OpenGL rotates a cube, applies axis-specific orientation and translations, and uses clipping planes for perspective rendering and visibility control.
Zoom in and out of a cube by handling mouse button events, translating with x, y, z values, and rotating in OpenGL, with clear, draw, and render steps.
Define a complete pipe class for a Python game, with top and bottom heights, visibility, and a collision rectangle; implement update to move pipes left and handle player collisions.
Explore event handling and collisions in the Python game development project, implementing a bird, pipes, and score updates within the main loop, with input, movement, and collision logic.
Explore running the game and rendering pipes, using a frame clock to spawn new pipes at set intervals and a deque to manage active pipes, updating the display each frame.
Add and display the score when the bird crosses a pipe, update score logic, and render the score as pipes move in this flappy bird style game.
Practice drawing polygons and rendering beam and column sprites by converting polygon vertices to 2d vectors, applying rotations, offsets, and on-screen positioning.
Render a score panel, initialize a global score variable to zero, and increment the score on collisions, displaying the updated value in white text at a defined position.
Manage game events for collisions and finishing a level by checking mouse input and button presses to resume, restart, or advance levels, while resetting scores and loading the next level.
Learn to add tracks to your Python game by scripting rotation around the image center, handling surfaces, lifetime, and an update loop that moves sprites with the camera.
Explore Python’s core arithmetic: addition, subtraction, multiplication, and division, and distinguish integers from floats, including floor division and modulo operations that return remainders.
Explore Python strings, including literals in double or single quotes, and learn to create, fix, and print strings like hello world, with comments to prevent execution.
Master Python conditional logic by using if, else, and elif with comparison operators to control program flow and outcomes.
Master for loops and range to iterate over data structures like strings, lists, and tuples, using range to generate numbers from start to end, and compare with while loops.
Build a Python program that counts character occurrences in a string using a dictionary, looping over input and using get with a default value to print formatted results.
Explore the Mario project overview by rendering game components, implementing movement, and handling growth when items are eaten, to demonstrate building Mario-style gameplay.
Set up a mario-style game project, configure the interpreter, and load resources to enable event handling. Implement the main loop with state management and keybindings to drive gameplay.
Master time-based Mario events by animating transitions from small to middle to big sprites, using a self-timer and time-based triggers to control image state and movement.
Implement an enemy in a Python game by creating a sprite with animated frames, loading images, applying gravity and velocity, and handling brick collisions and scoring.
Implement a score panel by rendering digit sprites from images, updating and drawing floating, disappearing scores, and managing a score list for level 1.
Build and render a game level by setting up the background, ground, bricks, steps, pipes, and enemy groups, then initialize the viewport and level objects for play.
Develop a score update system that refreshes images and labels, converts scores to strings via a reverse loop, and updates the on-screen clock in a Python game development project.
Define and position game levels, draw loading and level screens, and manage blit-based rendering of characters, letters, and level labels to drive gameplay.
Have you ever wanted to build a games with a graphical interface but didn't know how to? May be you even know how to create tools on a command line but have no idea how to convert it into a graphical interface that people can click on. In this course we will be learning Python GUI Programming + Turtle + other advanced python modules to build graphical user interfaces (GUI) and games from scratch.
Games You will make throughout course:
Four major Projects:
We will learn from basics of Python i.e. variables, slicing, string, some module, arithmetic and logical operations, looping, functions, object oriented programming.
After that we will learn the basics stuff of Pygame and OpenGL and Blender basics stuff.