KTBYTE Computer Science Academy >> Classes >> PY2a

PY2a

Python Level 2

Class Description:

Prerequisites:

Creeper Game created in Javablocks (created by KTBYTE) The creeper graphic scales when you move the mouse and flashes red when it gets too big.

Hidden Sprites made with Javablocks (created by KTBYTE): The orbs are made into lists, and it appears and dissapears based on its' distance from the mouse and the pink 'flashlight'.

Wack-A-Mole Game made with Javablocks (created by KTBYTE): The goal of the game is to hit the mole with the hammer.

Cookie Clicker made with Javablocks (created by KTBYTE): The cookie is a button that creates an increase in numerical value when it is clicked.

Button made with Javablocks (created by KTBYTE): This is a true button, that detects whether a certain area is being clicked.

FUN2a Lesson 1 - Owl Demo: Click to view project!

Fun2a Line Art: Click to view project!

FUN2a Lesson 3 - Cookie Catcher: Click to view project!

Treasure Hunter Demo Capstone: Click to view project!

FUN2a Lesson 5 - Slide Show: Click to view project!

PSet Dev: Simon Says: Click to view project!

FUN2a Lesson 7 - Pong: Click to view project!

FUN2a Lesson 9 - Whack A Mole: Click to view project!

FUN2a Lesson 11 - Piano: Click to view project!

FUN2a Lesson 12 - Stamps: Click to view project!

FUN2a Lesson 13 - Maze: Click to view project!

Class Project(s)
Students will make PythonBlocks projects including a variety of games and applications. These can range from simple to medium complexity.
Homework/Quizzes
Required Homework

Optional Homework

Our Proprietary In-Browser Coding Platform.

The KTBYTE team developed the KTCoder™ with our students in mind! Most coding classes require software downloads, which is difficult and a hassle for young students. Our platform supports Processing, Javablocks™, HTML/CSS, and a bunch of libraries (like Soundcipher and Fiscia!). This revolutionary all-in-one coding platform supports our interactive online classes, our specialized curriculum, and (most importantly) our student's passion for learning.
Student Progress Report
KTBYTE will e-mail parents with behavior and grade progess reports.

About PY2a:

Syllabus

Introduction to PyBlocks

This is the introductory lesson for Python Level 2. In this lesson we will be introducing the way Python blocks works. We will be creating a canvas, giving it a background color, and then modifying the color through the "Draw" function. We will also be adding shapes, images, and doing some basic motion.
Please complete the "In Class" Pset for MakeUp

Shapes and Variables

In this lesson, we will be reviewing how to draw shapes with different colors. Afterwards, we will introduce the idea of variables and how they can be used to create an art program.

Sprite Variables; Cookie Catcher

In this lesson, we will learn about Sprite variables, and will be making a simple catching game. We will have a "cookie" falling from the top of the page to the bottom. We will also have a "basket" at the bottom of the page which will catch the cookie and earn us points.

Treasure Hunter

In this lesson, we look at how we can use more advanced conditional statements to add more options to our programs. Specifically, we will create a treasure hunter game that uses a Sprite button and timer. Students will learn to build timers that either count up or count down and start on a button press.

Slideshow (With Functions)

A function is a way to compartmentalize and re-organize our code. We can create special blocks of code, name them, then "call" them in the main body of our program. In this class, we replace our normal "draw" function with several calls to other smaller functions which act as individual "draw" functions. In this way, we can draw different pages depending on what "slide" we're on.

Reaction Game

In this class, we will look at functions again, and use them to create a reaction time game! Students will have to utilize functions, frameCount, and random() functions to create a cheat-proof reaction time game. This program will borrow elements from the Stop Watch (CW 4) and Slideshow (CW 5) programs, so students may want to review those problem sets as additional homework.

Pong

In this class, we endeavor to build the classic game - PONG!

Pong pt.2, AI Opponent

In this lesson, we continue with our Pong project by finishing up the ball's behaviour, then adding an AI opponent to the game. Students will be surprised at how difficult it is to create an AI that is good enough to actually play the game, but not so perfect as remove any chance of beating it. It is easy to make a perfect AI, it is hard to program mistakes!

Whack-A-Mole

In this lesson, we will be creating a timing and accuracy based game modeled after the classic Fare Game: Whack-A-Mole.

Bebras Challenge Day

Today, we will be participating in the global computation challenge known as the "Bebras Challenge". Students will be tasked with solving computation problems at various skill levels. For every tier that a student completes, they will receive a certificate stating their completion of the challenge.

Sound Cipher Project

We are now able to implement sounds into our projects. Students will make use of the "Sound Cipher" blocks to create a mini piano and play some simple songs.

Lists

This week, we will introduce the students to the list, and how to add objects to it. We will create a list of sprites, then add a Sprite to it every time we click at our mouse's location. Time permitting, we can add effects like adjusting the size of the image we stamp with length of click or with key presses.

Maze Game

This week, we will be building a maze using sprites, lists, and loops. The students will create a list of sprites called Walls, and we will check if the player Sprite is touching any of the walls. We will also include doors, moving objects, and goals!

Projects

Students choose web games to analyze and break down into their component parts.

Projects Continued

Worked on projects during class

Show All Show Less

All Class Times

COUPON:

SUCCESSFULLY APPLIED!

PREVIOUS COUPON:

Classes Starting Soon
Classes in Session

Winter Break

20201223PY2a700pm

Dec 23 - Jan 3

7:00 PM - 9:00 PM ET (1st Two Classes 7:00 PM - 10:00 PM ET)

Main Teacher:
Nathan Cook

$800/session

With Coupon: $----

ENROLL

Show Lesson Times Hide Lesson Times

Lesson 1: Wednesday, 2020-12-23 [07:00 PM - 10:00 PM ET]

Lesson 2: Saturday, 2020-12-26 [07:00 PM - 10:00 PM ET]

Lesson 3: Sunday, 2020-12-27 [07:00 PM - 09:00 PM ET]

Lesson 4: Monday, 2020-12-28 [07:00 PM - 09:00 PM ET]

Lesson 5: Tuesday, 2020-12-29 [07:00 PM - 09:00 PM ET]

Lesson 6: Wednesday, 2020-12-30 [07:00 PM - 09:00 PM ET]

Lesson 7: Saturday, 2021-01-02 [07:00 PM - 09:00 PM ET]

Lesson 8: Sunday, 2021-01-03 [07:00 PM - 09:00 PM ET]

18-Day Full Semester

20201120PY2a5:10pm

Every Fri Nov 20 - Apr 2 (Skip 12/25, 1/1)

5:10 PM - 6:00 PM ET

17 lessons remaining

Main Teacher:
Troy Oliveira

$755/session

With Coupon: $----

ENROLL

Show Lesson Times Hide Lesson Times

Lesson 1: Friday, 2020-11-20 [05:10 PM - 06:00 PM ET]

Lesson 2: Friday, 2020-11-27 [05:10 PM - 06:00 PM ET]

Lesson 3: Friday, 2020-12-04 [05:10 PM - 06:00 PM ET]

Lesson 4: Friday, 2020-12-11 [05:10 PM - 06:00 PM ET]

Lesson 5: Friday, 2020-12-18 [05:10 PM - 06:00 PM ET]

Lesson 6: Friday, 2021-01-08 [05:10 PM - 06:00 PM ET]

Lesson 7: Friday, 2021-01-15 [05:10 PM - 06:00 PM ET]

Lesson 8: Friday, 2021-01-22 [05:10 PM - 06:00 PM ET]

Lesson 9: Friday, 2021-01-29 [05:10 PM - 06:00 PM ET]

Lesson 10: Friday, 2021-02-05 [05:10 PM - 06:00 PM ET]

Lesson 11: Friday, 2021-02-12 [05:10 PM - 06:00 PM ET]

Lesson 12: Friday, 2021-02-19 [05:10 PM - 06:00 PM ET]

Lesson 13: Friday, 2021-02-26 [05:10 PM - 06:00 PM ET]

Lesson 14: Friday, 2021-03-05 [05:10 PM - 06:00 PM ET]

Lesson 15: Friday, 2021-03-12 [05:10 PM - 06:00 PM ET]

Lesson 16: Friday, 2021-03-19 [05:10 PM - 06:00 PM ET]

Lesson 17: Friday, 2021-03-26 [05:10 PM - 06:00 PM ET]

Lesson 18: Friday, 2021-04-02 [05:10 PM - 06:00 PM ET]

20201121PY2a730am

Sun Nov 22 - Mar 28 (skip 2.14 CNY)

7:30 AM - 8:20 AM ET

17 lessons remaining

Main Teacher:
Emily Cole

$755/session

With Coupon: $----

ENROLL

Show Lesson Times Hide Lesson Times

Lesson 1: Sunday, 2020-11-22 [07:30 AM - 08:20 AM ET]

Lesson 2: Sunday, 2020-11-29 [07:30 AM - 08:20 AM ET]

Lesson 3: Sunday, 2020-12-06 [07:30 AM - 08:20 AM ET]

Lesson 4: Sunday, 2020-12-13 [07:30 AM - 08:20 AM ET]

Lesson 5: Sunday, 2020-12-20 [07:30 AM - 08:20 AM ET]

Lesson 6: Sunday, 2020-12-27 [07:30 AM - 08:20 AM ET]

Lesson 7: Sunday, 2021-01-03 [07:30 AM - 08:20 AM ET]

Lesson 8: Sunday, 2021-01-10 [07:30 AM - 08:20 AM ET]

Lesson 9: Sunday, 2021-01-17 [07:30 AM - 08:20 AM ET]

Lesson 10: Sunday, 2021-01-24 [07:30 AM - 08:20 AM ET]

Lesson 11: Sunday, 2021-01-31 [07:30 AM - 08:20 AM ET]

Lesson 12: Sunday, 2021-02-07 [07:30 AM - 08:20 AM ET]

Lesson 13: Sunday, 2021-02-21 [07:30 AM - 08:20 AM ET]

Lesson 14: Sunday, 2021-02-28 [07:30 AM - 08:20 AM ET]

Lesson 15: Sunday, 2021-03-07 [07:30 AM - 08:20 AM ET]

Lesson 16: Sunday, 2021-03-14 [07:30 AM - 08:20 AM ET]

Lesson 17: Sunday, 2021-03-21 [07:30 AM - 08:20 AM ET]

Lesson 18: Sunday, 2021-03-28 [07:30 AM - 08:20 AM ET]