Exploring Computer Science Lesson 4-12

Slides:



Advertisements
Similar presentations
Code Club Session 3 Shark Eats Fish. Picture of finished product here.
Advertisements

This game is loosely based on the Whack-A- Mole arcade game.  Each game starts with 45 seconds of play.  Moles randomly pop out of holes on the landscape.
Scratch Programming Session 9 of 10 Review elements to use in stories, games, etc.
Meet Me on Mars Lesson 7 Variables and Messages. Events and Variables 1. Click the _________ button 2. When ________ clicked, set ______ to ____ 3. Now,
Code Club Session 2 Dance Party. What will we learn ?  How to change the background  How to create animations  How to make objects talk to each other.
Timers Exploring Computer Science Lesson Objectives The students will be able to: Create a timer.
Exploring Computer Science 2/23/15 2/23 Develop a Scratch story project -Brainstorming 2/24 Develop a Scratch story project –Developing 2/25 Develop a.
My Scratch Story Exploring Computer Science Lesson 4-7.
Exploring Computer Science 2/9/15 2/9Moving Scratch 2/10Moving Scratch worksheet 2/11 Scratch Baseball Game 2/12Scratch Alphabet Learning Game 2/13Game.
I put this into my scratch so that when the green flag was clicked to start the game, and wait an amount of seconds before the QR changes.
Dr. Fowler CCM Solving Systems of Equations By Elimination – Harder.
Exploring Computer Science 2/2/15 2/2No School 2/3Scratch creating a program- Name 2/4 Scratch creating a program Dialogue 2/5 Scratch creating a dialogue.
Setting up and getting going with…. MIT App Inventor.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Scratch Dialogues Exploring Computer Science – Lesson 4-3.
Scratch Programming Lesson 3 Create a story. We are going to learn… How to change the background How to use the “say” and “think” bubbles How to change.
Unit 1 Introduction to Evangel College S.2 ICT.
Marble Racer. The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions.
Algorithms in Scratch How to plan your code. Algorithms Algorithms provide computers with a set of instructions or a set of rules. They are written BEFORE.
How to create a basic game in Scratch. The Scratch Stage The Scratch stage is 480 pixels wide and 360 pixels high x increasesx decreases.
Moving Sprites in Scratch Exploring Computer Science – Lesson 4-4.
Scratch – Simple Programming
1 Understand what Scratch is and what it can be used for Lesson 1: Learning Objectives.
Today's Ninja Challenge: Write Your First Computer Game!
Lives and Scoring Games Programming in Scratch. Games Programming in Scratch L2 Lives and Scoring Learning Objectives Define a variable Understand the.
Introduction to Programming with Scratch Exploring Computer Science – Lesson 4-1.
Randomness Exploring Computer Science Lesson 4-10 – Part 2.
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Games Programming in Scratch
© A+ Computer Science -
Exploring Computer Science Lesson 4-7
Exploring Computer Science – Lesson 4-5
Exploring Computer Science Lesson 4-13
Programming Final Project
Exploring Computer Science Lesson 4-14
Exploring Computer Science Lesson 4-10 – Part 1
Games Programming in Scratch
Programming Final Project
Scratch I - Overview.
Introduction to Object-Oriented Programming
Stopwatch Cards Stopwatch Cards
Computing - Scratch.
Creating Variables Output Logic flow Operators (More) Basic blocks
Module 5 Lesson 3 Extreme Scratch Cards
Exploring Computer Science Lesson 4-14
EXPLORING COMPUTER SCIENCE
Programming Final Project
And and or…and RANDOMNESS
Lesson Objectives To understand how to make sprites interact
Moving Sprites in Scratch
Exploring Computer Science Lesson 4-13
Stopwatch Cards Stopwatch Cards
Exploring Computer Science – Lesson 4-5
Add or Subtract? x =.
Exploring Computer Science – Lesson 4-3
10 SCRATCH bLOCKS lesson 1 10 Blocks.
Programming Final Project
Exploring Computer Science Lesson 4-7
Pair work – Do you want to change seats??
Exploring Computer Science Lesson 4-8
Stopwatch Cards Stopwatch Cards
Game Over Module 4 Lesson 2.
How To Can You Get Unemployed Loans With Bad Credit Score? You can get unemployed loan without any credit check. You just click on to
Solve Multi-step Equations
Exploring Computer Science Lesson 4-10 – Part 2
Exploring Computer Science Lesson 4-14
Exploring Computer Science Lesson 4-13
Exploring Computer Science Lesson 4-12
Exploring Computer Science Lesson 4-8
Exploring Computer Science Lesson 4-10 – Part 1
Presentation transcript:

Exploring Computer Science Lesson 4-12 Timers Exploring Computer Science Lesson 4-12

Objectives The students will be able to: Create a timer

Timers Timers are simply a variable that counts down (or up). You already know how to initialize a variable You know how to add or subtract one You know how to “wait” 1 second Bottom line – You know how to make a timer! I don’t need to teach you.

Timer Project How to make a timer in Scratch: Create a variable called timer. When the flag is clicked, initialize the timer to 30. Continually, wait 1 second and subtract one from timer Output the current time either with a sprite or just show the variable Check if the timer = 0 If the timer = 0 make either the background or a huge sprite say “Time’s Up” When the green flag is clicked, everything should start over. Be creative as to what you want your program to look like. Make sure the timer stops at 0 and does not continue into negatives. Extra Credit: When the time’s up, have the sprite or background also say the score.