Introduction to Computer Programming Model
Units:
- Introduction to Programming
- Introduction to Object Oriented Programming
- Software Development and the Use of Software Design Specifications.
- Logical Structure and Sequences
- Event-driven Programming
- AP Concepts Using BYOB/SCRATCH
- Getting Started With BYOB/Scratch: How to Build a Block
- Testing for Prime Numbers with Predicate Blocks in BYOB/Scratch: A Scaffolding Tool for Teaching Boolean Expressions in AP Computer Science
- Generating Number Series with Reporter Blocks in BYOB/Scratch: A Scaffolding Tool for Teaching Java Methods in AP Computer Science
- Creating a Number Guessing Game in BYOB/Scratch: A Scaffolding Tool For Teaching Binary Searching in AP Computer Science
- Creating an Interactive Field of Sprites in Scratch
- Attraction and Repulsion as a Gaming Principle in Scratch
- Hook/Set
- Demo/Modeling
- Check for Understanding
- Projects
- Assessment
- Creating a Maze Game In Scratch
- Introduction to Symbolic Logic
- Transitioning From Scratch to BYOB Scratch Using Karel The Robot
- Introduction to Video Game Development Using Game Maker
- Employment Portfolio
Tags
Activity Industry Sector
Information Technology
Activity Originally Created By:
George Benainous
Check for Understanding
Part of Lesson Plan: Attraction and Repulsion as a Gaming Principle in Scratch
Activity Overview / Details
At this point, students should already have had quite a bit of exposure to Scratch and should understand many of the underlying principles.
Check that students understand the following:
- how to move sprites using the mouse or keyboard
- how to check for the distance of one sprite to another
- how to make sprites move a set number of steps
- how to check for how many seconds have elapsed
A second idea involving how to reverse the roles of the sprites is important. A variable should be declared which sets the number of steps a sprite moves. After a set number of seconds have passed, multiply the variable by -1 (negative one). This will reversed the movement of the sprites.
Sprite script:
Stage script:




