pxt-calliope/docs/reference/js/gallery.md
2016-04-13 08:27:45 -07:00

4.4 KiB

Gallery

Overview of Touch Develop lessons for the BBC micro:bit.

~column

Maker

  • Telegraph, play the telegraph game between 2 BBC micro:bits
  • Ornament Chain, play the ornament chain game between 2 BBC micro:bits

~hide

~

Beginner

~hide

~

~column

Intermediate

  • Zoomer, measure the force with acceleration
  • Strobe light, develop shapes with a nested for loops
  • Digi yoyo, create a counter with a while loop
  • Die roll, spin with more if statements
  • Spinner, spin the arrow with multiple if statements
  • Truth or dare, a game that forces each player to reveal a secret or do something funny with if statement
  • Love meter, create a love meter with on pin pressed
  • Guess the number, guess a random number with random
  • Magic 8, a fortune teller game with the BBC micro:bit
  • Counter, display a number with a variable
  • Glowing pendulum, construct a pendulum that glows using acceleration
  • Looper, display a series of numbers with a for loop index

~hide

  • Rotation animation, control an animation with a boolean variable
  • Offset image, shift an image horizontally with image offset
  • Compass, displays the direction the BBC micro:bit is pointing

~

~column

Advanced

  • Rock paper scissors, use image offsets with local variables
  • Digital pet, a display of pet images with sub-functions
  • Catch the egg, catch falling eggs in a basket with an acceleration controller
  • Headbands, create a charades game with a collection of strings that hold the words
  • Prank WiFi, create fake WiFi to trick your friends
  • Flipping bird, use modulo with a conditional
  • Runaway pac man, construct the game pac man with the BBC micro:bit
  • Line of Fire, make a game to test hand-eye coordination
  • The hat game, make a game to test your focus on the moving ball
  • Pong, a light bouncing from left to right
  • Meteorite, a game where meteorites are coming for you one by one
  • Minesweeper, make a game to test your memory for placing a LED mine then finding the hidden LED mine
  • Bop it, a game where you have to keep up with the commands
  • Letter Up, a guessing game with string operators with string at
  • Racing Buttons, racing game to determine if player 1 presses Button A faster or if player 2 presses Button B faster

~hide

  • Transformers, use functions to return values
  • Speed button, code a speed game with running time
  • Jailbreak, break out of a counting loop by pressing button "A"
  • 2 player pong, collaborate with a classmate to develop Pong on multiple BBC micro:bits

~

~hide

  • Number psych, collaborate with multiple classmates to develop a game on multiple BBC micro:bits and a breadboard

~

@section full

The lessons promote computational thinking and computer science literacy read more...