simplify projects

This commit is contained in:
Peli de Halleux 2016-11-10 08:37:13 -08:00
parent 3a8bbfbd91
commit fd5357b273
12 changed files with 45 additions and 107 deletions

View File

@ -57,7 +57,7 @@ Fun games to build with your @boardname@.
"imageUrl":"/static/mb/projects/wallet.png" "imageUrl":"/static/mb/projects/wallet.png"
}, { }, {
"name": "Watch", "name": "Watch",
"url":"/projects/the-watch", "url":"/projects/watch",
"imageUrl":"/static/mb/projects/a10-watch.png" "imageUrl":"/static/mb/projects/a10-watch.png"
}] }]
``` ```

View File

@ -1,24 +1,7 @@
# flashing heart # flashing heart
![](/static/mb/projects/a1-display.png)
### ~avatar avatar ### ~avatar avatar
```sim
basic.forever(() => {
basic.showLeds(`
. # . # .
# # # # #
# # # # #
. # # # .
. . # . .`
);
basic.pause(500);
basic.clearScreen();
basic.pause(500);
})
```
Use the LEDs to display a flashing heart, and then create Use the LEDs to display a flashing heart, and then create
an animation of a broken heart. :( an animation of a broken heart. :(

View File

@ -1,7 +1,5 @@
# Guitar # Guitar
![guitar icon](/static/mb/projects/guitar.png)
### @description A beginner-intermediate maker activity, building a guitar with the @boardname@ ### @description A beginner-intermediate maker activity, building a guitar with the @boardname@
### ~avatar avatar ### ~avatar avatar
@ -9,7 +7,7 @@
Make a @boardname@ guitar with this guided tutorial! Make a @boardname@ guitar with this guided tutorial!
### ~ ### ~
*playing @boardname@ guitar*
https://youtu.be/GYmdTFvxz80 https://youtu.be/GYmdTFvxz80
## Duration ## Duration

View File

@ -19,17 +19,17 @@ Build your own music player @boardname@ from headphones.
* Headphones * Headphones
* Crocodile clips * Crocodile clips
## Activities
* [Connect your headphone](/projects/hack-your-headphones/make)
* [Play sounds!]()
# ~hint # ~hint
**No crocodile clips!?!?!** Use wires or Aluminium foil! [Read more...](/device/foil-circuits) **No crocodile clips!?!?!** Use wires or Aluminium foil! [Read more...](/device/foil-circuits)
# ~ # ~
## Activities
* [Connect your headphone](/projects/hack-your-headphones/make)
* [Play sounds!]()
### ~button /projects/hack-your-headphones/make ### ~button /projects/hack-your-headphones/make
Let's get started! Let's get started!

View File

@ -1,8 +1,10 @@
# love meter # love meter
![](/static/mb/projects/a3-pins.png) ### ~avatar avatar
Use pins P0, P1 and P2 to change the display by creating a circuit with your body. Use pins and your body to change the display!
### ~
## Step 1 ## Step 1

View File

@ -1,10 +1,8 @@
# magic button trick # magic button trick
Perform a magic trick where you appear to make the **A** and **B** button of your @boardname@ swap over just by moving a sticky label.
### ~avatar avatar ### ~avatar avatar
Welcome! This activity will teach you how to use the @boardname@'s compass to detect a nearby magnet Build a magic trick that uses the @boardname@'s compass to detect a nearby magnet!
### ~ ### ~
This is a simple magic trick you can perform to amaze your friends, where by moving the sticky labels on your @boardname@'s **A** and **B** button you appear to make the buttons really switch over. To see the trick performed watch the video below. This is a simple magic trick you can perform to amaze your friends, where by moving the sticky labels on your @boardname@'s **A** and **B** button you appear to make the buttons really switch over. To see the trick performed watch the video below.

View File

@ -1,51 +1,11 @@
# rock paper scissors # rock paper scissors
![](/static/mb/projects/a4-motion.png)
### ~avatar avatar ### ~avatar avatar
```sim Build a rock paper scissors game!
input.onGesture(Gesture.Shake, () => {
let img = Math.random(3)
if (img == 0) {
basic.showLeds(`
# # # # #
# . . . #
# . . . #
# . . . #
# # # # #
`)
} else if (img == 1) {
basic.showLeds(`
. . . . .
. # # # .
. # # # .
. # # # .
. . . . .
`)
} else {
basic.showLeds(`
# # . . #
# # . # .
. . # . .
# # . # .
# # . . #
`)
}
})
```
In this project, you will build a Rock Paper Scissors game with the @boardname@.
You can play the game with a friend who has it on a @boardname@.
You can also play it with friends who are just using their hands.
### ~ ### ~
## Materials needed
* Your @boardname@ -- that's it!
## Step 1: Getting started ## Step 1: Getting started
We want the @boardname@ to choose rock, paper, or scissors when you shake it. We want the @boardname@ to choose rock, paper, or scissors when you shake it.

View File

@ -1,8 +1,10 @@
# smiley buttons # smiley buttons
![](/static/mb/projects/a2-buttons.png) ### ~avatar
Use buttons to show a smiley or frowny face. Use buttons to show a smiley face!
### ~
## Step 1 ## Step 1

View File

@ -1,7 +1,5 @@
# Wallet # Wallet
![wallet icon](/static/mb/projects/wallet.png)
### @description A beginner maker activity, building a duct tape wallet with the @boardname@ ### @description A beginner maker activity, building a duct tape wallet with the @boardname@
### ~avatar avatar ### ~avatar avatar
@ -12,23 +10,6 @@ Make a @boardname@ wallet with this guided tutorial!
![wallet image](/static/mb/projects/wallet/wallet.jpg) ![wallet image](/static/mb/projects/wallet/wallet.jpg)
## Duration
2 Activities, approx 30-45 min each based on familiarity with the coding concepts
## Materials
* Paper sheet
* Tape (masking, duct tape, and/or packing tape)
* Scissors
* 1 @boardname@, battery holder and 2 AAA batteries
* Marker or pen
## Activities
* [Make](/projects/wallet/make)
* [Code](/projects/wallet/code)
### ~button /projects/wallet/make ### ~button /projects/wallet/make
Let's get started! Let's get started!

20
docs/projects/watch.md Normal file
View File

@ -0,0 +1,20 @@
# the watch
### ~avatar
Build your own @boardname@ watch from an old pair of jeans and T-shirt!
### ~
![](/static/mb/lessons/the-watch-1.png)
### ~button /projects/watch/make
Let's get started!
### ~
### Acknowledgements
Artistic design by Melinda Hoeneisen.

View File

@ -1,12 +1,14 @@
![](/static/mb/projects/a10-watch.png) # the watch - Make
# the watch ### @description Maker Project for Watch
![](/static/mb/lessons/the-watch-0.png) ### ~avatar avatar
In this project, you will build your own wearable @boardname@ watch from an old pair of jeans and T-shirt. Project duration: 15 minutes. Make a watch for your @boardname@
![](/static/mb/lessons/the-watch-1.png) ### ~
## Duration: ~30 minutes
## Materials ## Materials
@ -147,8 +149,3 @@ Trim any leftover fabric, threads or tape.
![](/static/mb/lessons/the-watch-23.png) ![](/static/mb/lessons/the-watch-23.png)
Your watch is ready! Your watch is ready!
### Acknowledgements
Artistic design by Melinda Hoeneisen.

View File

@ -187,6 +187,7 @@
"privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839", "privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
"termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977", "termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
"githubUrl": "https://github.com/Microsoft/pxt-microbit", "githubUrl": "https://github.com/Microsoft/pxt-microbit",
"projectGallery": "projects",
"boardName": "micro:bit", "boardName": "micro:bit",
"sideDoc": "getting-started", "sideDoc": "getting-started",
"browserSupport": [ "browserSupport": [
@ -225,10 +226,6 @@
"name": "Getting Started", "name": "Getting Started",
"path": "/getting-started" "path": "/getting-started"
}, },
{
"name": "Projects",
"path": "/projects"
},
{ {
"name": "Reference", "name": "Reference",
"path": "/reference" "path": "/reference"