Hello everyone today I am doing another tutorial for kid bright again. I know I know it might be a bit boring, but my dad told me to write about it so yeah. Anyways the way I did this was my way there totally are other ways to make a coin flipper, but this was the easiest way I did, so let's just start. First, you get the set x to block you don't have to change it. , but you do have to get a random integer and you have to change it to 0-2. Why 2? I don't know my coding teacher from the coding course program used 2 and it worked. Next, is get the forever block and next is the if do else block. Put a = block then get an x block and a number block from math. So next you can literally do anything you want in the do of the if, but I just drew pictures. Next is get another LED drawing block again and do the just draw whatever you want for tails. When you are done it will look similar to the picture in the blog. Anyways that is all for today bye! One more thing you can actually make it a bit more advance like when it is heads open the light when it is tails say something or play music notes stuff like that.
Hello everyone! Today I will be talking about how to make a countdown number in Kid-Bright. You might not know what I will be talking about, I had to write about this so let's just start! First, go to the software and drag the forever block and get the set to block as well. You don't have to change it, but you can if you want. Get the LED 2 chars block and put the block that lets you print or tell what to say not literally, but just like tells you what it is trying to tell you or speak to you or something. So anyways you write what you want on the block and then get the if do block and the = block. Next, get the switch 1 block from the sensor topic and the number block from the math topic. Next, get the repeat (while) block from the loop topic. Get the = block and 1 number block and change it to 0 and the X block in Math. Get another set x to block and a + block from math and another x and number block. Get the LED 2 chars block and put ANOTHER x block and last, but not
Comments
Post a Comment