The following are some questions related to this project along with some suggested code challenges. The idea is to provoke thought, test your understanding, and get you coding!
While the sketches provided in this guide work, there is room for improvement and additional features. Have fun playing with the provided code to see what you can do with it.
Questions
- Why do you think it was necessary to call the
setAccelRange()
function insetup()
? (hint: 1G = 9.8 m/s2) - Can you think of a way to cheat the dice? (hint: think about that seed)
Text editor powered by tinymce.