pxt-calliope/docs/lessons/beautiful-image/challenges.md
2016-05-06 09:32:29 -07:00

792 B

beautiful image blocks challenges

Coding challenges for the beautiful image tutorial.

Before we get started

Complete the beautiful image activity and your code will look like this:

basic.showLeds(`
    # # # # #
    # # . # #
    # . # . #
    # # . # #
    # # # # #
    `)

Challenge 1

@video td/videos/beautiful-image-1-2

Now show an new image that will display on the micro:bit.

basic.showLeds(`
    # # # # #
    # # . # #
    # . # . #
    # # . # #
    # # # # #
    `)
basic.showLeds(`
    # . # . #
    . # # # .
    . . # . .
    . # # # .
    # . # . #
    `)
  • Does your code work as expected?

Challenge 2

Nice job! Why don't we create a third image that will show after the other two?