You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This student should give meaningful names to all their sprites. If this had been done, it would be easier to explain the issue.
The problem is that the sprite named Sprite has a forever loop that is continuously broadcasting 'game over'.
The sprite named 'start/tutorul page' receives the 'game over' message many times (10s if not 100s of times).
Each time 'start/tutorul page' receives the 'game over' message the "ask want to restart? and wait" block is run.
Running this ask block many times with the same question is the reason the student believes "the answer block isn't storing his answer".
A fix is to change "broadcast 'game over'" to be "broadcast 'game over' and wait".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Student has a script that is to reset the game. For some reason the answer block isn't storing his answer. Any ideas?
(https://snap.berkeley.edu/snap/snap.html#present:Username=akaputz23&ProjectName=hggf)
Beta Was this translation helpful? Give feedback.
All reactions