Flash Add Game
I created a Mental Addition game. To answer the sum of 10 numbers that are flashed very fast. scratch.mit.edu/projects/93071…
2023-11-30 12:25:01lemme explain the source code. the main flow is: 1) counts down 3, 2, 1. 2) displays 10 numbers. 3) asks the user to enter the answer. i defined 2 functions ("blocks"). • say countdown • flash random numbers pic.twitter.com/Iz3I06xT1g
2023-11-30 12:46:31countdown block. loops 3 times. decreases by 1. period. random number display block. accumulates the sum in the variable `correct answer`. pic.twitter.com/mO41BFx7yb
2023-11-30 13:04:20finally, the actual message display block. (sry i actually defined 3 blocks.) • flash [message] for 0.5 seconds displays the message for 0.3s and clears the speech bubble for 0.2s. this makes the message appear to flash. pic.twitter.com/MkN3Gspshs
2023-11-30 13:24:48
コメントがまだありません。感想を最初に伝えてみませんか?