30 Oct '15, 5pm
QuizBug: the making of a #CodeBug #IoT educational project by @enricomiglino #CodingInEducation
Thanks to set the variables of the program on top, when the leg status (corresponding to the answer) is checked, only some flags and variables should be changed; Accordingly with the leg the ResponseString content is set to correct or wrong (instead of designing two different sprites). The value of Raise (+1 or -1) is set to change the direction of the sound effect, growing for the correct answer and falling for the wrong answer. The flag AnswerStatus is normally set to false when the program is waiting for the user interactions. When a choice is detected, it is set to true for the answer response animation.