Updating search results...

Search Resources

758 Results

View
Selected filters:
  • Computer Science
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.11: Booleans and Conditionals
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students start by using booleans to compare the current value of a sprite property with a target value, using that comparison to determine when a sprite has reached a point on the screen, grown to a given size, or otherwise reached a value using the counter pattern. After using booleans directly to investigate the values or sprite properties, students add conditional _if_ statements to write code that responds to those boolean comparisons.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.12: Conditionals and User Input
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Following the introduction to booleans and _if_ statements in the previous lesson, students are introduced to a new block called `keyDown()` which returns a boolean and can be used in conditionals statements to move sprites around the screen. By the end of this lesson students will have written programs that take keyboard input from the user to control sprites on the screen.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.13: Other Forms of Input
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson students continue to explore ways to use conditional statements to take user input. In addition to the simple `keyDown()` command learned yesterday, students will learn about several other keyboard input commands as well as ways to take mouse input.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.14: Project - Interactive Card
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this cumulative project for Chapter 1, students plan for and develop an interactive greeting card using all of the programming techniques they've learned to this point.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.15: Velocity
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

After a brief review of how they used the counter pattern to move sprites in previous lessons, students are introduced to the properties that set velocity and rotation speed directly. As they use these new properties in different ways, they build up the skills they need to create a basic side scroller game.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.16: Collision Detection
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students learn about collision detection on the computer. Working in pairs, they explore how a computer could use sprite location and size properties and math to detect whether two sprites are touching. They then use the `isTouching()` block to create different effects when sprites collide, including playing sounds. Last, they use their new skills to improve the sidescroller game that they started in the last lesson.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.17: Complex Sprite Movement
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students learn to combine the velocity properties of sprites with the counter pattern to create more complex sprite movement. In particular students will learn how to simulate gravity, make a sprite jump, and allow a sprite to float left or right. In the final levels of the Code Studio progression students combine these movements to animate and control a single sprite and build a simple game in which a character flies around and collects a coin. Students are encouraged to make their own additions to the game in the final level.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.18: Collisions
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students program their sprites to interact in new ways. After a brief review of how they used the `isTouching` block, students brainstorm other ways that two sprites could interact. They then use `isTouching` to make one sprite push another across the screen before practicing with the four collision blocks (`collide`, `displace`, `bounce`, and `bounceOff`).

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.19: Functions
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students learn how to create functions to organize their code, make it more readable, and remove repeated blocks of code. An unplugged warmup explores how directions at different levels of detail can be useful depending on context. Students learn that higher level or more abstract steps make it easier to understand and reason about steps. Afterwards students learn to create functions in Game Lab. They will use functions to remove long blocks of code from their draw loop and to replace repeated pieces of code with a single function. At the end of the lesson students use these skills to organize and add functionality to the final version of their side scroller game.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.1: Booleans Unplugged
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson, students are introduced to boolean values and logic, as well as conditional statements. The class starts by playing a simple game of Stand Up, Sit Down in which the boolean (true/false) statements describe personal properties (hair or eye color, clothing type, age, etc). This gets students thinking about how they can frame a property with multiple potential values (such as age) with a binary question.

From there students are provided a group of objects with similar, yet varying, physical properties. With a partner they group those objects based on increasingly complex boolean statements, including compound booleans with AND and OR.

Finally we reveal Conditionals as a tool to make decisions or impact the flow of a program using boolean statements as input.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.1: Programming for Entertainment
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students are asked to consider the "problems" of boredom and self expression, and to reflect on how they approach those problems in their own lives. From there, students will explore how Computer Science in general, and programming specifically, plays a role in either a specific form of entertainment or as a vehicle for self expression.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.21: Using the Game Design Process
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this multi-day lesson, students use the problem solving process from Unit 1 to create a platform jumper game. They start by looking at an example of a platform jumper, then define what their games will look like. Next, they use a structured process to plan the backgrounds, variables, sprites, and functions they will need to implement their game. After writing the code for the game, students will reflect on how the game could be improved, and implement those changes.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.22: Project - Design a Game
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students will plan and build their own game using the project guide from the previous two lessons to guide their project. Working individually or in pairs, students will first decide on the type of game they'd like to build, taking as inspiration a set of sample games. They will then complete a blank project guide where they will describe the game's behavior and scope out the variables, sprites, and functions they'll need to build. In Code Studio, a series of levels prompts them on a general sequence they can use to implement this plan. Partway through the process, students will share their projects for peer review and will incorporate feedback as they finish their game. At the end of the lesson, students will share their completed games with their classmates. This project will span multiple classes and can easily take anywhere from 3-5 class periods.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.2: Plotting Shapes
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students explore the challenges of communicating how to draw with shapes and use a tool that introduces how this problem is approached in Game Lab. The warm up activity quickly demonstrates the challenges of communicating position without some shared reference point. In the main activity students explore a Game Lab tool that allows students to interactively place shapes on Game Lab's 400 by 400 grid. They then take turns instructing a partner how to draw a hidden image using this tool, accounting for many challenges students will encounter when programming in Game Lab. Students optionally create their own image to communicate before a debrief discussion.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.2: The Game Design Process
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

This lesson introduces students to the process they will use to design games for the remainder of the unit. This process is centered around a project guide which asks students to define their sprites, variables, and functions before they begin programming their game. In this lesson students begin by playing a game on Game Lab where the code is hidden. They discuss what they think the sprites, variables, and functions would need to be to make the game. They are then given a completed project guide which shows one way to implement the game. Students are then walked through this process through a series of levels. As part of this lesson students also briefly learn to use multi-frame animations in Game Lab. At the end of the lesson students have an opportunity to make improvements to the game to make it their own.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.3: Drawing in Game Lab
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

Students are introduced to Game Lab, the programming environment for this unit, and begin to use it to position shapes on the screen. They learn the basics of sequencing and debugging, as well as a few simple commands. At the end of the lesson, students will be able to program images like the ones they made with the drawing tool in the previous lesson.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.4: Shapes and Randomization
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson students continue to develop their familiarity with Game Lab by manipulating the width and height of the shapes they use to draw. The lesson kicks off with a discussion that connects expanded block functionality (e.g. different sized shapes) with the need for more block inputs, or "parameters". Students learn to draw with versions of `ellipse()` and `rect()` that include width and height parameters. They also learn to use the `background()` block. At the end of the progression students are introduced to the `randomNumber()` block. Combining all of these skills students will draw a randomized rainbow snake at the end of the lesson.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.5: Variables
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson students learn how to use variables to label a number in their program or save a randomly generated value. Students begin the lesson with a very basic description of the purpose of a variable. Students then complete a level progression that reinforces the model of a variable as a way to label or name a number. Students use variables to save a random number to see that variables actually store or save their values, allowing them to use the same random number multiple times in their programs.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.6: Sprites
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In order to create more interesting and detailed images, students are introduced to the sprite object. Every sprite can be assigned an image to show, and sprites also keep track of multiple values about themselves, which will prove useful down the road when making animations.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019
CS Discoveries 2019-2020: Interactive Animations and Games Lesson 3.7: The Draw Loop
Conditional Remix & Share Permitted
CC BY-NC-SA
Rating
0.0 stars

In this lesson students are introduced to the draw loop, one of the core programming paradigms in Game Lab. To begin the lesson students look at some physical flipbooks to see that having many frames with different images creates the impression of motion. Students then watch a video explaining how the draw loop in Game Lab helps to create this same impression in their programs. Students combine the draw loop with random numbers to manipulate some simple animations with dots and then with sprites. At the end of the lesson students use what they learned to update their sprite scene from the previous lesson.

Subject:
Applied Science
Computer Science
Material Type:
Lesson Plan
Provider:
Code.org
Provider Set:
CS Discoveries 2019-2020
Date Added:
08/08/2019