BBC Microbit.

Slides:



Advertisements
Similar presentations
A Christmas Scratch game
Advertisements

Lists. Lists store information in a certain order. You can add, remove, or rearrange items in a list. You can also pick out information from a list.
Game! Answer a question correctly: the Lucky Wheel! SPIN! How many points will.
 graphic organizers in the form of illustrations or images displayed in sequence for the purpose of pre-visualizing a motion picture, animation, motion.
Learning the skills for programming Advanced Visual Programming.
Animal Rescue Lesson 2. What will you do in this lesson?
BBC Microbit Getting set up and making your first program.
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.
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
BBC MICRO:BIT Lesson 2 Variables and Lists. Variables When programming it is often necessary to store a value for use later on in the program. A variable.
ADVANCED EV3 PROGRAMMING LESSON By Seshan Brothers Random Block.
Bbc microbit Lesson 3 – Temperature hot medium.
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
Intro CS – Keyboard and mouse input
micro:bit for primary schools – mb4ps.co.uk
Exploring Computer Science Lesson 4-10 – Part 1
@TeacherToolkit, license CC BY-NC-ND 3.0
@TeacherToolkit, license CC BY-NC-ND 3.0
Lesson 4 – Glowing pendulum
Objective of the lesson
Mindsensors PSP-Nx Controller Simon Game
BBC Microbit.
BBC Microbit.
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
Dance Cards Dance Cards
BBC Microbit.
اختر أي شخصية واجعلها تطير!
BBC Microbit.
Objective of the lesson
BBC Microbit.
Dance Cards Dance Cards
BBC Microbit.
BBC Microbit.
Game Controller Lesson Three.
Dance Cards Dance Cards
micro:bit for primary schools – mb4ps.co.uk
Dance Cards Dance Cards
Dance Cards Dance Cards
BBC Microbit.
By Sanjay and Arvind Seshan
BBC Microbit.
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
BBC Microbit.
Objective of the lesson
BBC Microbit.
BBC Microbit.
BBC Microbit.
BBC Microbit.
And and or…and RANDOMNESS
Objective of the lesson
Using the sensor Lesson 5.
Dance Cards Dance Cards
micro:bit for primary schools – mb4ps.co.uk
Getting Started with Physical Computing
Dance Cards Dance Cards
BBC Microbit.
micro:bit for primary schools – mb4ps.co.uk
micro:bit for primary schools – mb4ps.co.uk
Dance Cards Dance Cards
BBC Microbit.
Dance Cards Dance Cards
Dance Cards Dance Cards
Dance Cards Dance Cards
Exploring Computer Science Lesson 4-10 – Part 1
Presentation transcript:

BBC Microbit

Objective of the lesson Use Block Editor to make Spin the Bottle All of you will: Display a 2 player Spin the Bottle game Most of you will: Display a 4 player Spin the Bottle game Some of you will: Display a 8 player Spin the Bottle game

Spin the Bottle This is a game where a person is picked to Tell a Truth (answer a question truthfully) Do a Dare (to be decided) It can be played by 2, 4 or 8 people. The bottle is spun and the person it points to has to ‘Tell a Truth’ or ‘Do A Dare’ Add an ‘on shake’ loop Add a variable called item

Change the name of the variable to be RandomNumber Set the RandomNumber variable to be either 0 or 1

Add an If do else condition Add if RandomNumber = 0

Get the show LEDs to display an upward arrow Else (the number must not be 0 (and must be 1). Get the show LEDs to create a downward arrow

Challenge 1. This is for two players sat opposite. See if you can add extra random numbers and extra arrows to allow for 4 players 2. See if you can add extra random numbers and extra arrows to allow for 8 players 3. See of you can create an introductory animation which spins the arrow, clears the screen and pauses before making a decision  

Answers

For 8 players you would create random number 0 to 7, before adding in extra else if statements and extra images of arrows on diagonals To spin the bottle you would add in the 8 images of the arrow in the correct order with pauses inbetween. Add this in the loop before creating the random number