Shawn videos (#1690)
* inclued in tutorials * adding sim images to large icons * added landing page * restoring gifs in intro * updated links
This commit is contained in:
@ -2,12 +2,15 @@
|
||||
|
||||
## Introduction @unplugged
|
||||
|
||||
Let's turn the @boardname@ into a dice!
|
||||
(Want to learn how the accelerometer works? [Watch this video](https://youtu.be/byngcwjO51U)).
|
||||
|
||||

|
||||
|
||||
Let's turn the @boardname@ into a dice! To do this, we need 3 pieces of code: one to detect a throw (shake), another to pick a random number, and then one to show the number.
|
||||
|
||||
## Step 1 @fullscreen
|
||||
|
||||
We need 3 pieces of code: one to detect a throw (shake), another to pick a random number, and then one to show the number.
|
||||
|
||||
Place the ``||input:on shake||`` block onto the editor workspace. It runs code when you shake the @boardname@.
|
||||
|
||||
```blocks
|
||||
|
Reference in New Issue
Block a user