
learn how to install Python on Windows from python.org, verify installation with command prompt, and set up an integrated development environment to write and run scripts for game development.
Discover how to download and install Visual Studio Code on Windows, add the Python extension, create and run a Python file, and see hello world output.
Learn how to use the Python official documentation to explore modules, the math module, and built-in functions for game development, enabling robust, higher-level code.
Learn how to create and use variables in Python with the assignment operator, initialize integers, floats, strings, and booleans, and follow naming rules for readable, case-sensitive code.
Explore Python data types by building and manipulating lists, dictionaries, and tuples, learning how to create, index, slice, and access values with keys and indices.
Delve into string formatting in Python using the format method, placeholders and indexes to insert variables and literals, and learn floating point formatting with decimal precision.
Master Python indentation to define blocks for functions, conditionals, and loops, and understand how whitespace shapes readability and correct execution.
Explore Python conditionals, if, elif, and else, that control program flow through boolean tests, with examples showing indentation, code blocks, and simple weather- and input-based scenarios.
Explore defining user defined functions in Python with def, pass parameters, call and return results, and use *args and **kwargs to accept arbitrary arguments for reusable, modular code.
Explore how Python implements multiple inheritance alongside basic inheritance, using a foobar example to combine attributes and methods from two parents, override methods, and use super to invoke base behavior.
Explore Python exception handling with try, except, and finally blocks, manage division by zero and other errors, and learn about multiple exceptions and re-raising for debugging.
Explore python file handling with open modes, read and write operations, line-by-line reading, exception handling, and directory traversal to manage, read, and write files efficiently.
Learn the __name__ == '__main__' pattern, how Python defines special variables before execution, and how it distinguishes running as main versus importing.
Explore python's math module to perform rounding, floor, ceiling, and trunc operations. Compute the hypotenuse via sqrt, use trigonometric functions and degree and radian conversions, and handle infinity and NaN.
Explore how magic methods enable operator overloading in Python and apply a vector-based data model to build mini games, with examples that draw lines and squares using simple graphics tools.
Create a snake game layout using squares for the snake and food, initialize positions as vectors, and drive movement with the M method while handling on key events.
Build a Pacman game world by rendering a tile map of zeros and ones, with blue path tiles and black walls, a centered food dot, and four corner ghosts.
Demonstrate Pacman movement by handling keyboard input, validating moves against wall tiles and open paths, and mapping positions to tile indices with an offset for valid moves.
Introduces the pygame module, installing and importing it, creating a game screen, drawing a green rectangle, handling events and keyboard input to move the rectangle, and updating the display.
Build a chain reaction clone from scratch, outlining a 10x10 grid, multiplayer atom placement, and overflow rules that determine the winner.
Learn to code a grid-based chain reaction game in Python using Pygame, defining spots, neighbors, and grid cells to simulate atoms and overflow.
Learn to initialize a 10x10 grid with 40-pixel blocks in pygame, draw roads and grid lines, and manage neighbor relationships for a Python game.
Master the game loop by initializing the grid inside a continuous while loop, updating the display via the display module, and creating game objects for a 10x10 grid.
Learn to build a 10x10 grid in pygame, handle mouse events, compute cell coordinates, and draw atoms as colored ellipses within grid cells.
In this lecture, learn to implement overflow in a grid-based game by checking item counts against neighbor cells, disintegrating atoms, and propagating effects to surrounding cells, with color boundaries.
Master collision handling and game loops while building a space shooter from scratch in pygame. Import sounds, move the spaceship, and manage game objects and custom events in Python.
Learn to implement left and right player movement with boundary checks and a defined speed in pygame, keeping the player static at walls and rendering sprites from sprite sheets.
Render enemies as game objects with an enemy class and images, spawn them from the top at random horizontal positions, and move them downward while grouping for future collisions.
Render and display the player's score in a pygame game, updating on enemy kills, and show a centered game over screen with the final score in red.
Load the game over image and sounds from resources, render and center the game over screen with score, and play bullet, enemy down, and game over audio.
Master the basics of solitaire: 52 cards in four suits, ranks ace to king, with tableau piles, foundations, stockpile, and waste pile, plus draw three rules.
Master the copy module and deep copy to create independent object copies, avoiding shared references when editing lists. Apply this to clone a deck of cards for the game project.
Create a card class for the solitaire game in Python game development, defining image name, size, rank, suit, color, face orientation, position, and mouse-click detection, plus string representations.
Create undo and redo buttons using the UI module’s button class, initializing with display dimensions, position, color, and text, then render them in the game loop with mouse position detection.
Have you ever wanted to build a game with a graphical interface but didn't know how to? Maybe 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.
Game projects covered:
1. Solitaire
2. Space Shooter
3. Chain Reaction
4. Pac-man
5. Car Racing
6. Snake and many more.
Basic Python course Highlights:
Installing Python
Running Python Code
Strings
Lists
Dictionaries
Tuples
Sets
Number Data Types
Print Formatting
Functions
Scope
args/ kwargs
Built-in Functions
Debugging and Error Handling
Modules
External Modules
Object-Oriented Programming
Inheritance
Polymorphism
Encapsulation
Advanced Methods
Iterators
Closures
and much more!