Learn Micro:Bit
About Lesson

Micropet Challenge

You have to create a virtual pet using Makecode for Microbit. The pet should be interactive. Use your imagination! For example, if you touch the microbit logo your pet could giggle, or if you tilt the microbit it could display icon with eyes closed and play the yawn sound and so forth. Watch a demo below for ideas.

You can use accelerometer, touch, light, sound, and temperature sensor to trigger icons and sounds (behaviours displayed by your virtual pet). Or, your pet could react to button-press events.

See next lesson for solution.