Room 20
Featured Project Week 4
Digital Dice
Try Te One's Digital Dice
Concepts
Logic and Patterns
Approaches
Tinkering and Persevering
Learning Intentions
Recognise the patterns in the coding and using similarities to develop and extend the code to making an electron dice that would only throw 1 or 2 to throw 1 to 6. Preserve and Experiment via trial and error to establish a working code.
Featured Project Week 4
Te One's code was adapted from the original two sided dice. He has worked out how to repeat the coding pattern and make it work. This was not the code I expected students to come up with. I didn't think using the if else condition would work for this project. Te One proved me wrong. This solution is logical and perfectly workable. I would not normally use if else unless I was handling only to conditions such as 1 and 2. In other projects students replaced the if else with a single if condition and repeated it 6 times with a forever block.