🚀 Coding the Projectiles | Betabox Learning

🚀 Coding the Projectiles

Time to type in some code! We will be setting up the framework for the projectiles in our arcade game.

Lesson Steps

  1. Have students go to the Coding the Projectiles section. 
  2. Students will follow along with the video to add code to their copy/pasted template.
  3. Encourage students to read The Code Explained subsection below.
  4. Check for understanding and answer any questions they may have before moving on to the next section.
  5. Review the section vocabulary below.

Vocabulary

  • Class: A code template, that has properties, for creating objects.
  • Object: An instance of a class.
  • Tuple: An ordered data set and like lists, are ordered and have indexes but, unlike lists, the order cannot change.
  • Conditional ("if") Statements: Statements that compare two values to see if it’s true. If statements always have a : at the end.
  • Functions: Packets of code that do a certain task and are always followed by ( ).
X
X
X