Skip to content

Commit b3b24c1

Browse files
committed
new explanation for step 5
1 parent 206c72a commit b3b24c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scratch/scratch-scratch-revolution.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h1>Scratch Scratch Revolution</h1>
3636
<iframe id="step4" data-src="https://scratch.mit.edu/projects/356031922/embed?autostart=false" src="about:blank"></iframe>
3737
</div>
3838
<div class="block">
39-
<p>5) We need to figure out how to measure the amount of dancing you are doing. The list shows us what we get! Hmm, what should we do. From here, you have two choices. You can calculate the average motion from the list, or you can calculate the maximum number in the list. Pick one, create a variable and set it to that calculation!</p>
39+
<p>5) We need to figure out how to measure the amount of dancing you are doing. The list shows us what we get! Hmm, the numbers are very chaotic. Dancing is messy, who knew? We need to figure out a way to smooth the numbers a little, just so our game doesn't stop and start jarringly. There are two options. 1) We can calculate an average from our list. Averages changes slower and thus we'll have better control over what happens in our game. Or 2) we can use a rolling maximum, the highest in our list at any given time. Since every number in the list stays for a while, a single large number may stay the maximum for some time, also giving us control over our game. Choose one, and figure out how to calculate the value! </p>
4040
<button onclick="loadiframe('step5', this)">View Example</button>
4141
<iframe id="step5" data-src="https://scratch.mit.edu/projects/356029343/embed?autostart=false" src="about:blank"></iframe>
4242
</div>

0 commit comments

Comments
 (0)