A complete game
Answers are for parents and teachers.
1
Write the blocks for this rule: if the score is 8 or more and the level is 2, then broadcast final round.
if <<(score) > (7)> and <(level) = (2)>> then broadcast [final round v]. (score > 7 means 8 or more.)
2
This script should give 5 points for a right answer, but it gives points only for wrong answers. Find the bug and say how to fix it.
The change score block is in the else part, which runs when the answer is wrong. Move it into the then part, under say Yes!.
3
The rule is ‘if time left > 5, double points’. Write four tests with the expected results. Include the boundary.
For example: 10 (double), 6 (double), 5 (not double, because 5 > 5 is false), 2 (not double). The edge is at 5.
4
Make a plan for a three-level game of your own. Write what changes at each level and the score that starts it.
For example: level 1 from 0 points with slow targets, level 2 from 10 points with faster targets, level 3 from 20 points with faster targets and less time. Check that the scores increase.
5
(if you have a computer or tablet) Build the Quizzer and the Clock from this week in Scratch. Run your test plan and write the actual results.
Check that the clock counts down from 20, that right answers add 1 and that the quiz stops at 0.