From fd5357b273d8364a41afbddda7c40016a95d2bbd Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 10 Nov 2016 08:37:13 -0800 Subject: [PATCH] simplify projects --- docs/projects.md | 2 +- docs/projects/flashing-heart.md | 17 -------- docs/projects/guitar.md | 4 +- docs/projects/hack-your-headphones.md | 10 ++--- docs/projects/love-meter.md | 6 ++- docs/projects/magic-button-trick.md | 4 +- docs/projects/rock-paper-scissors.md | 42 +------------------ docs/projects/smiley-buttons.md | 6 ++- docs/projects/wallet.md | 19 --------- docs/projects/watch.md | 20 +++++++++ docs/projects/{the-watch.md => watch/make.md} | 17 ++++---- pxtarget.json | 5 +-- 12 files changed, 45 insertions(+), 107 deletions(-) create mode 100644 docs/projects/watch.md rename docs/projects/{the-watch.md => watch/make.md} (91%) diff --git a/docs/projects.md b/docs/projects.md index a50cf8c6..6cf1b8a1 100644 --- a/docs/projects.md +++ b/docs/projects.md @@ -57,7 +57,7 @@ Fun games to build with your @boardname@. "imageUrl":"/static/mb/projects/wallet.png" }, { "name": "Watch", - "url":"/projects/the-watch", + "url":"/projects/watch", "imageUrl":"/static/mb/projects/a10-watch.png" }] ``` diff --git a/docs/projects/flashing-heart.md b/docs/projects/flashing-heart.md index 42068cf1..95f612b1 100644 --- a/docs/projects/flashing-heart.md +++ b/docs/projects/flashing-heart.md @@ -1,24 +1,7 @@ # flashing heart -![](/static/mb/projects/a1-display.png) - ### ~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 an animation of a broken heart. :( diff --git a/docs/projects/guitar.md b/docs/projects/guitar.md index 43703e3e..c95da6d2 100644 --- a/docs/projects/guitar.md +++ b/docs/projects/guitar.md @@ -1,7 +1,5 @@ # Guitar -![guitar icon](/static/mb/projects/guitar.png) - ### @description A beginner-intermediate maker activity, building a guitar with the @boardname@ ### ~avatar avatar @@ -9,7 +7,7 @@ Make a @boardname@ guitar with this guided tutorial! ### ~ -*playing @boardname@ guitar* + https://youtu.be/GYmdTFvxz80 ## Duration diff --git a/docs/projects/hack-your-headphones.md b/docs/projects/hack-your-headphones.md index b5bfd830..3d07bf4c 100644 --- a/docs/projects/hack-your-headphones.md +++ b/docs/projects/hack-your-headphones.md @@ -19,17 +19,17 @@ Build your own music player @boardname@ from headphones. * Headphones * Crocodile clips -## Activities - -* [Connect your headphone](/projects/hack-your-headphones/make) -* [Play sounds!]() - # ~hint **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 Let's get started! diff --git a/docs/projects/love-meter.md b/docs/projects/love-meter.md index 3de0244a..ab58c379 100644 --- a/docs/projects/love-meter.md +++ b/docs/projects/love-meter.md @@ -1,8 +1,10 @@ # 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 diff --git a/docs/projects/magic-button-trick.md b/docs/projects/magic-button-trick.md index 8963c3ba..85912244 100644 --- a/docs/projects/magic-button-trick.md +++ b/docs/projects/magic-button-trick.md @@ -1,10 +1,8 @@ # 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 -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. diff --git a/docs/projects/rock-paper-scissors.md b/docs/projects/rock-paper-scissors.md index 0e8dbcd7..30b239f1 100644 --- a/docs/projects/rock-paper-scissors.md +++ b/docs/projects/rock-paper-scissors.md @@ -1,51 +1,11 @@ # rock paper scissors -![](/static/mb/projects/a4-motion.png) - ### ~avatar avatar -```sim -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. +Build a rock paper scissors game! ### ~ - -## Materials needed - -* Your @boardname@ -- that's it! - ## Step 1: Getting started We want the @boardname@ to choose rock, paper, or scissors when you shake it. diff --git a/docs/projects/smiley-buttons.md b/docs/projects/smiley-buttons.md index afda51f2..f7eb51cb 100644 --- a/docs/projects/smiley-buttons.md +++ b/docs/projects/smiley-buttons.md @@ -1,8 +1,10 @@ # 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 diff --git a/docs/projects/wallet.md b/docs/projects/wallet.md index 55a44043..c656414f 100644 --- a/docs/projects/wallet.md +++ b/docs/projects/wallet.md @@ -1,7 +1,5 @@ # Wallet -![wallet icon](/static/mb/projects/wallet.png) - ### @description A beginner maker activity, building a duct tape wallet with the @boardname@ ### ~avatar avatar @@ -12,23 +10,6 @@ Make a @boardname@ wallet with this guided tutorial! ![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 Let's get started! diff --git a/docs/projects/watch.md b/docs/projects/watch.md new file mode 100644 index 00000000..86ab6a06 --- /dev/null +++ b/docs/projects/watch.md @@ -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. + diff --git a/docs/projects/the-watch.md b/docs/projects/watch/make.md similarity index 91% rename from docs/projects/the-watch.md rename to docs/projects/watch/make.md index 2cee515e..ba667d47 100644 --- a/docs/projects/the-watch.md +++ b/docs/projects/watch/make.md @@ -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 @@ -147,8 +149,3 @@ Trim any leftover fabric, threads or tape. ![](/static/mb/lessons/the-watch-23.png) Your watch is ready! - -### Acknowledgements - -Artistic design by Melinda Hoeneisen. - diff --git a/pxtarget.json b/pxtarget.json index 6cce4aae..883fb062 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -187,6 +187,7 @@ "privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839", "termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977", "githubUrl": "https://github.com/Microsoft/pxt-microbit", + "projectGallery": "projects", "boardName": "micro:bit", "sideDoc": "getting-started", "browserSupport": [ @@ -225,10 +226,6 @@ "name": "Getting Started", "path": "/getting-started" }, - { - "name": "Projects", - "path": "/projects" - }, { "name": "Reference", "path": "/reference"