Intermediate Programming (in Python)
This course builds on the Beginning Programming (in Python) course and covers Python graphics via a library called Turtle. Students will become familiar with how to use the Turtle library and build graphics-based games. As a capstone project, students will build their version of the game Snake.
Lesson 1: Python Review Part 1
Week 1 Day 1 | Slides
To refresh the skills learned in the Beginning Python class, students will review and practice each topic. The first day of the review will cover printing, variables, input, types, and type casting.
Lesson 2: Python Review Part 2
Week 1 Day 2 | Slides
The second review lesson continues reviewing variable types and type casting. It also covers conditionals and loops.
Lesson 3: Python Review Part 3
Week 2 Day 1 | Slides
The third review lesson covers libraries, lists, and 2d lists. At the end, students make a small mini-game about potion price negotiation.
Lesson 4: Intro to Python Graphics
Week 2 Day 2 | Slides
This lesson introduces the turtle
graphics library. Students learn to set up and customize
turtles and screens. The lesson also introduces the concept of classes and objects.
Lesson 5: Drawing with turtle library
Week 3 Day 1 | Slides
This lesson covers how to draw with the pen in the turtle
graphics library.
Lesson 6: Writing text & hiding turtles
Week 3 Day 2 | Slides
This lesson covers how to write text and hide turtles. We'll start to create a Turtle Race game.
No class. Mid-winter break
Week 4
Lesson 7: Functions and Keboard Events
Week 5 Day 1 | Slides
This lesson covers creating functions. We'll also introduce how to handle keyboard events.
Lesson 8: Building Block Collector
Week 5 Day 2 | Slides
This lesson covers how to create the game Block Collector (part 1).
Lesson 9: Continue Building Block Collector
Week 6 Day 1 | Slides
This lesson covers how to create the game Block Collector (part 2).
Lesson 10: Continue Building Block Collector
Week 6 Day 2 | Slides
This lesson covers how to create the game Block Collector (part 3).
Lesson 11: Continue Building Block Collector
Week 7 Day 1 | Slides
This lesson covers how to create the game Block Collector (part 4).
Lesson 12: Continue Building Block Collector
Week 7 Day 2 | Slides
This lesson covers how to add extra enhancements to the game Block Collector.
Lesson 13: Capstone Project - Snake Game (part 1)
Week 8 Day 1 | Slides
This lesson covers building the classic game Snake.
Lesson 14: Capstone Project - Snake Game (part 2)
Week 8 Day 2 | Slides
This lesson covers building the classic game Snake.
Lesson 15: Capstone Project - Snake Game (part 3)
Week 9 Day 1 | Slides
This lesson covers building the classic game Snake.
Lesson 16: Capstone Project - Snake Game (part 4)
Week 9 Day 2 | Slides
This lesson covers building the classic game Snake.