Gaming with conditionals

Slides:



Advertisements
Similar presentations
Solving IPs – Cutting Plane Algorithm General Idea: Begin by solving the LP relaxation of the IP problem. If the LP relaxation results in an integer solution,
Advertisements

Session 4 Getting Out there. Warm Ups  Gradually increasing blood flow and muscle anD joint temp will improve comfort and reduce risk of injury.
Module 4B Further development of ideas in 2- man groups Estimated time: 45 minutes.
Snacktivities for Running Active Schools. With a Koosh ball can you…? Toss the ball from side to side Pass the ball behind your legs in a figure of eight.
Super Logo. Key Instructions Pendown penup Forward 50 ( this number can change) Right 90 ( this number can change as well) Now try and draw a Early finishers,
Computer & Desk Stretches. Computer & Desk Stretches Approximately 4 Minutes Sitting at a computer for long periods often causes neck and shoulder stiffness.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
Module 15A Instruction of 3D didactic Estimated time: 90 min.
Lab 12 - Exercise Prescription for Step Aerobics Kelly Heikkila Kristen Ibey Berit Dool
ELECTRIC SLIDE Step One: Grapevine Right (4) Step Two: Grapevine Left (4) Step Three: Back Steps (4) Step Four: Rock Step Front, Rock Step Back (4) Step.
Please Stand Up By Mr. Al.
Warm up dance Hokey Pokey
Getting Started! Lego Mindstorms Program NXT 2.0.
MODULE 1 LESSON 2 Relate multiplication to the array model.
MODULE 1 LESSON 1 UNDERSTAND EQUAL GROUPS OF AS MULTIPLICATION FIRST MATH LESSON OF THE YEAR!! WOOOOO.
Parachute Games. You can purchase a parachute or use a bed sheet. Each person holds on to a part of the parachute and the leader (usually and adult) provides.
 Thread the Needle  Flamingo  Stork Stand  Seal Clap  Turk Stand  Blind Touch  Rocker  Head Touch  Seat Spin  Heel/Knee Slaps  Jump turns 
24 Background Building 25 Computing Terminology, and Speed/Velocity Module 4 Notes: Sensing, Or Operator, Conditional Logic 28 Module 4 Algorithms,
Физминутки на уроках английского языка
If you are tired at the English lesson… Физкультминутки на уроках английского языка в начальной школе. Составитель: Рыбакова Г.А Учитель английского языка.
1. Draw back ball and tap forward with inside of right foot 2. Draw back ball and tap forward with inside of left foot 3. Draw back ball and tap forward.
Computer & Desk Stretches Approximately 4 Minutes
Lesson 1: Move our hands and legs!
Sequencing Learning Objective: to be able to design algorithms that use sequencing.
Activity 1 30 Two Feet Jumps.
Broadcasting (Adding a new level)
FLOWCHARTS Part 1.
Intro CS – Loops & Creating Shapes
Building with Numbers Module 4: Investigation 3
Module 2: Investigation 1
P. E. Activity Sheets Knockconan N.S. 2010
Here you can learn all about 2-D shapes
Macarena Counts: Dance Steps: 1-4
Физминутки на занятиях английского языка
Dance Like No-one Is Watching
ALGORITHMS & FLOWCHARTING II
Физминутки на уроках английского языка
Plyometric Exercises for Basketball
Computing Year 7 - Unit 2 Programming Basics Scratch Basics.
Gaming with conditionals
CIRCUS: GROUND-BASED SKILLS
Introduction to Coding
Drama At Cornwallis Academy
Line Following Behavior
Learning about Conditional Selection
Balancing on 1 foot arms stretched to the ceiling
Recap the basics Lesson 1.
Here you can learn all about 2-D shapes
Find 3 people and give them a compliment Do 10 jumping jacks
Learning about Conditional Selection
Station Ideas Print and laminate these stations or create your own based on your school’s equipment and students’ needs.
Get.
Using the sensor Lesson 5.
Hour of Code.
Broom Dancing.
Mod 2 Lesson 2 Repeating Debugging
Mod 2 Lesson 2 Repeating with loops
All Around the Kitchen All around the kitchen cock-a-doodle-doodle doo
Brain Break GET MOVING! :).
Everyday sequence algorithms that develop movement
Learning about Conditional Selection before using it inside a Game
Recap the basics Lesson 1.
L.O. I can take part in and play different circle games
Using the sensor Lesson 5.
Mod 2 Lesson 2 Repeating with loops
EE 194/Bio 196: Modeling biological systems
Condition Switches between actions
Purpose: To talk about the importance of good study habits.
Games for Friday Mornings at Viscount Alexander
Presentation transcript:

Gaming with conditionals

Take turns to be the input and the output input – put information into program output – programmed actions

Condition starts action If partner touches shoulder wave hand If partner says go laugh for 3 seconds If partner waves once Stand Sit input starts output

Condition switches between actions If partner stands bow Else hop If partner says pig stamp foot once grin input switches between outputs

Condition stops repeated action Loop until partner says boo nod head shake head Loop until partner claps move once step forward move one step backwards Input stops repeated outputs

Loops and Conditional Selection Condition starts action Condition switches between actions Loop always if touch shoulder turn right 90 degrees Loop always if touch shoulder turn right 90 degrees else turn left 90 degrees Including an always loop means the condition is checked over and over again

Loops and Conditional Selection Condition starts action Condition switches between actions Always loop if partner clap jump once bow once Always loop if partner clap jump once bow once else wave Including an always loop means the condition is checked over and over again

Shapes Game Always loop if touching circle hum loop until touching pentagon wave hands high in air if touching triangle hop else walk normally

Shapes Game Always loop if __________________ ________________ loop until _______________ _________________ ______________ else

Planning own game Draw or write What will it look like Theme? 15 mins max Draw or write What will it look like Theme? What sprites? What will sprites do? What background?

Planning own game Once the big idea is done loop until done Plan algorithm one part Program it Test it Come off the computer to plan a part Draw or write What will it look like Theme? What sprites? What will they do? What background?