{"id":8045,"date":"2023-09-25T11:42:06","date_gmt":"2023-09-25T10:42:06","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/?p=8045"},"modified":"2023-09-25T11:42:08","modified_gmt":"2023-09-25T10:42:08","slug":"micro-pets","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/2023\/09\/25\/micro-pets\/","title":{"rendered":"Micro Pets"},"content":{"rendered":"\n<p>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.<br>We took the idea of a virtual pet from the makecode site and then extended it in different ways.<\/p>\n\n\n\n<p>We started with the idea of making the pet happy by stroking it&#8217;s logo and making it sad by shaking it.<\/p>\n\n\n\n<p>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!<\/p>\n\n\n\n<p>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.<\/p>\n\n\n\n<p>Here are a couple of examples, click the play button, \u25b6\ufe0f, to see them in action. Be sure to turn on the sound for giggles &amp; squeaks.<\/p>\n\n\n<div style='position:relative;height:0;padding-bottom:70%;overflow:hidden;'><iframe style='position: absolute; top: 0; left: 0; width: 100%; height: 100%;'  src='https:\/\/makecode.microbit.org\/#pub:_XP9WD8M4XeXt' frameBorder='0' sandbox='allow-popups allow-forms allow-scripts allow-same-origin' ><\/iframe><\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-8cf370e7 wp-block-group-is-layout-flex\">\n<div class=\"wp-block-group has-background has-small-font-size\" style=\"background-color:#e6e6e67a\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<blockquote class=\"wp-block-quote has-small-font-size is-layout-flow wp-block-quote-is-layout-flow\">\n<p>My class made micro bit tamagotchi\u2019s 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 .<\/p>\n\n\n\n<p class=\"has-small-font-size\">This is what mine does ,&nbsp;<\/p>\n\n\n\n<p>My pet sleeps on button a and b using a led block and repeats it 8 times.&nbsp;<br>On button a pressed it eats using a led and repeat block&nbsp;&nbsp;If you press button b it dies and I also used a led block a repeat block and a&nbsp;on button b pressed block .<\/p>\n<cite>Juliet<\/cite><\/blockquote>\n<\/div><\/div>\n<\/div>\n\n\n<div style='position:relative;height:0;padding-bottom:70%;overflow:hidden;'><iframe style='position: absolute; top: 0; left: 0; width: 100%; height: 100%;'  src='https:\/\/makecode.microbit.org\/#pub:_ij0f6m6tkbH4' frameBorder='0' sandbox='allow-popups allow-forms allow-scripts allow-same-origin' ><\/iframe><\/div>\n\n\n\n<div class=\"wp-block-group has-background\" style=\"background-color:#e6e6e67a\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<ul class=\"wp-block-list\">\n<li>Sleep<\/li>\n\n\n\n<li>Be happy if stroked (press logo)<\/li>\n\n\n\n<li>Be sad if shaken&nbsp;<\/li>\n\n\n\n<li>Die (wait long enough and don\u2019t feed it)<\/li>\n\n\n\n<li>Be sick if fed to much(can be cured using b)<\/li>\n\n\n\n<li>Be scared (by making a noise\/blowing\/filling the red bar 180+)<\/li>\n\n\n\n<li>Be fed (using a)<\/li>\n\n\n\n<li>Get a health check (A+B)<\/li>\n<\/ul>\n<cite>Nathaniel<\/cite><\/blockquote>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>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 &hellip; <a href=\"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/2023\/09\/25\/micro-pets\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Micro Pets&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":8047,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8045","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/bantonbiggies\/uploads\/sites\/30445\/2023\/09\/24103553\/micro-bit-featured-pet.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/posts\/8045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/comments?post=8045"}],"version-history":[{"count":14,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/posts\/8045\/revisions"}],"predecessor-version":[{"id":8064,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/posts\/8045\/revisions\/8064"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/media\/8047"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/media?parent=8045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/categories?post=8045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/bantonbiggies\/wp-json\/wp\/v2\/tags?post=8045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}