Micro Pets

For the past couple of weeks, we have been working on a micro:bit project in class. This is the first time some of the class have used micro:bits while others are more experienced.
We took the idea of a virtual pet from the makecode site and then extended it in different ways.

We started with the idea of making the pet happy by stroking it’s logo and making it sad by shaking it.

After that the class could extend it in lots of different ways. For the beginners this involved feeding and giving the pet a drink. The more experienced pupils surprised me with the complexity of what they were doing. We had health scores, feeding to keep healthy and avoiding starvation; being sick, with the chance of illness and death and being annoyed when petted too much!

Some of the class were intrigued enough to keep working in their free time and were great at sharing techniques. I was delighted to see a good understanding of variables and repeats shown by some.

Here are a couple of examples, click the play button, ▶️, to see them in action. Be sure to turn on the sound for giggles & squeaks.

My class made micro bit tamagotchi’s if we shook it it had to make a sad face and sound also on logo pressed it had to look happy and make a happy sound. We had to add other things in .

This is what mine does , 

My pet sleeps on button a and b using a led block and repeats it 8 times. 
On button a pressed it eats using a led and repeat block  If you press button b it dies and I also used a led block a repeat block and a on button b pressed block .

Juliet
  • Sleep
  • Be happy if stroked (press logo)
  • Be sad if shaken 
  • Die (wait long enough and don’t feed it)
  • Be sick if fed to much(can be cured using b)
  • Be scared (by making a noise/blowing/filling the red bar 180+)
  • Be fed (using a)
  • Get a health check (A+B)
Nathaniel

Author: John Johnston

I am a teacher, currently working in Banton Primary for North Lanarkshire Council. I also act as Product Owner/provide support for Glow Blogs.

Leave a Reply

Your email address will not be published. Required fields are marked *

Report a Glow concern
Cookie policy  Privacy policy

Glow Blogs uses cookies to enhance your experience on our service. By using this service or closing this message you consent to our use of those cookies. Please read our Cookie Policy.