Seed Programming

School of Seed Programming Logo

Logic Building with Python: Think, Code & Solve

Winter 2024

Rs 5,500/- PKR

About Course

This Python course is designed to provide a comprehensive introduction to programming with Python, blending foundational concepts with practical applications. From learning the basics of input/output operations and control structures to exploring advanced topics like data structures, sorting, and 2D grids, this course offers a step-by-step approach to mastering Python. Students will build essential programming skills, tackle mathematical and problem-solving challenges, and work on real-world projects like an age calculator and Conway’s Game of Life. By the end of this course, participants will have a strong grasp of Python fundamentals, empowering them to confidently create algorithms, manipulate data, and develop engaging projects.

What Will You Learn?

  • Understand the fundamentals of Python, including input/output operations, loops, and conditional statements.
  • Solve problems involving prime numbers, perfect squares, square roots, and patterns.
  • Master the use of loops, conditionals, and Python functions for modular programming.
  • Work with lists, sets, and dictionaries to store, organize, and manipulate data efficiently.
  • Learn sorting techniques and implement binary search for problem-solving.
  • Analyze and solve problems using frequency counting and dictionaries.
  • Explore grid-based data manipulation and implement projects like Conway’s Game of Life.
  • Develop practical projects like an age calculator, set calculator, and dynamic animations.

Certifications

“Logic Building with Python: Think, Code & Solve – Winter”

Dec’2024-Jan’2025

Recorded Lectures

With lifetime access to our lecture content,
you can revisit and refresh your concepts at your convenience.

Lecture 01: Introduction to Pygames
  • Screen Creation
    • Different dimensions
    • Variable 
  • Screen Color Change
  • Different Colors 
    • Changes within a color
    • Changes in color mixing
  • Shape draw
    • Line drawing
      • Mathematical details
    • Rectangle drawing (without built in)
      • Mathematical details
      • Rounding details
    • Circle
      • Mathematical details

Lecture 02: Loops and practicing animations in Pygames
  • Revision of Colors and Screen usage
  • Different Colors
    • Changes within a color
    • Changes in color mixing
  • Shape draw
    • Line drawing
      • Mathematical details
    • Rectangle drawing (without built in)
      • Mathematical details
      • Rounding details
    • Circle
      • Mathematical details
  • Introducing ANIMATION
    • Circle animation.

Lecture 03: Number Guessing and Catch The Green Ball
  • Conditional Statements in python (if-else)
  • Loops (for-while)
  • Number Guessing Game
    • Using if-else to guess the number
    • Using for loop to give mulitpe trys
    • Use of random function
  • Catch the Green Ball
    • Intro to main loop of game
    • Player movement using arrow keys
    • Spawning Ball at Random location

Lecture 04 Finding Errors and Helping Students
  • Resolving the Installation errors.
    • How to install the python setting the environment.
    • Hoe to install the pygame
  • Resolving student errors
    • Resolving issue in the students code

Lecture 04 Introduction to the strings and List
  • Introducntion to the string
    • Printing String
    • Strnig Concatenation
  • Introduction to the List
    • What is List ?
    • Printing List
    • Accessing elements in List
      • Using [] operators
      • Giving range in subscript operator []
    • Using for loop to access elements in List
    • Append Function of the List 

Lecture 05 Catch the Green ball Game
  • Enhancing the Player Movement
    • Using if and List
  • Enhancing the Ball Drop
    • First Uisng two variables
    • Resolving the issue of overlapping balls
    • Ball Drop using List
  • Generation of random balls
    • Adding delay betweem the spawnation of the ballls
  • Collision Detection
    • Using Euclidean Distance
  • On Collision Detection
    •  Increasing the score on touching the green ball
    • Game quit on touching red ball

Lecture 06 Completing and Adding Graphics in the Game
  • Resolving issue of the collision detection
    • Setting the x and y axis of balls
  • Intro to the load function of the pygame
  • Adding Graphics
    • Adding Score text
    • Adding Background
    • Adding player image in the game
  • How to add walking animation of the game ?

Lecture 07 Introduction to Functions
  • How to take input from the user ?
  • Introduction to Break statement
    •  Detecting if a number is prime or not
  • Introduction to function
    • Function is a box
    • Fucntion return
    • isPrime and is Composite function
  • Making catch the green ball using function

Lecture 08 Platform Game Phase - 01
  • Background Mover
    • Using two backgrounds
    • Changing the x-axis of the background
  • Platform Mover
    • Making list of the pygame.Rect() Objects
    • Random Spawn of the platforms
    • Moving of the platforms from right to left
    • Removing Unused platforms from the List

Lecture 09 Platform Game Phase - 02
  • Adding Player 
  • Player movement function
    • Setting initial Player Position
    • Adding jump logic in player movement
    • Player Platform Collision Detection
  • Adding Stars
    • Star and Platform Relation
    • Star Movement
  • Adding Score
    • On catching the star increment in score
    • Draw Score function

Lecture 10 Platform Game Final Phase
  • Adding the winning condition of platformer game
    • Adding Flag at the last platform
    • Limiting the number of platform
    • Movement of the flag
  • Addng screens
    • Start screen
    • Game Over Screen 
    • Game Win Screen 
    • Adding controls to start, restart and quit the game
  • Adding Sounds
    • Background music
    • Sound Effects
      • Jump Sound
      • Star Collect Sound
      • Game Over Sound
  • Discussion on how to add multiple levels.

Registration Queries

FOR ANY REGISTRATION QUERIES FEEL FREE TO REACH OUT TO OUR TEAM​
Open chat
Hello 👋
Can we help you?
Need more information about Computational Thinking and Problem Solving: with Python​