put lessons back for Michael

This commit is contained in:
Tom Ball
2016-06-14 17:28:08 -04:00
parent 0c67cd8e8b
commit 54213cf554
182 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# catch the egg game quiz
Programming a game of catch the egg using the accelerometer.
## Name
## Directions
Use this activity document to guide your work in the [catch the egg challenges](/lessons/catch-the-egg-game/activity)
Answer the questions while completing the tutorial. Pay attention to the dialogues!
## 1. Write the data type for the variables 'basket' and 'egg'.
<br/>
## 2. Write the code to plot the initial position of the egg and the basket using the variables 'egg x', 'egg y', and 'basket x'. The code should arrange the egg and basket as shown below.
![](/static/mb/lessons/catch-the-egg-game-0.png)
<br/>
## 3. Write the three lines of code that moves the egg down. (You need to unplot the egg's current position, update its position variables, and plot its new position.
<br/>
## 4. Write the code that resets the egg after it has fallen past the bottom of the BBC micro:bit.
<br/>