inserting macros instead of hard coded board names
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# dice roll lesson
|
||||
|
||||
Create a dice on the BBC micro:bit.
|
||||
Create a dice on the @boardname@.
|
||||
|
||||
## Topic
|
||||
|
||||
@ -35,7 +35,7 @@ basic.showLeds(`
|
||||
|
||||
## Objectives
|
||||
|
||||
* learn how to run code when the BBC micro:bit is shaken, when running code in the web browser, moving the mouse quickly simulates shaking
|
||||
* learn how to run code when the @boardname@ is shaken, when running code in the web browser, moving the mouse quickly simulates shaking
|
||||
* learn how to create a local variable as a place where you can store and retrieve data
|
||||
* learn how the assignment operator is used to declare a new local variable
|
||||
* learn how to declare a new local variable or update the value of a variable
|
||||
|
Reference in New Issue
Block a user