Penjee.com 's Blog

2 Player Button Presser Game – Microbit Project

Overview: Create a 2 player game.  Give the players 5 seconds to press button_a/button_b.  After the 5 seconds are over state who the winner or is if there’s a tie. One player will press button A and the other button B. Provide instructions and a count down and then give the players 5 seconds to … Continue reading 2 Player Button Presser Game – Microbit Project →

How to Create Custom Image

The Python Microbit reference shows how to make a custom boat image, which you can see pictured at the bottom. Here is the code: [crayon-673ed3569479e085068096/]  

Strings in Python . Beginner’s Guide and Sample Code

Most programming languages have certain types of variables including boolean variables (true or false), numeric variables (integers and/or decimal points). One of the other common types of variables are strings. A string  begins and ends with a quotation mark.  A string in is just  stuff inside quotes. The sample code below creates 3 different string variables  ([crayon-673ed3569569d025829586-i/] , [crayon-673ed356956a3871013656-i/] , and [crayon-673ed356956a5497390088-i/] ) …...