yuuchilyann / blockly

Automatically exported from code.google.com/p/blockly
0 stars 0 forks source link

Decrease loop counter on each step #185

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. http://learn.code.org/s/1/level/7
2. When code is executed, the counter is always 5

What is the expected output? What do you see instead?
Expect it to decrease as the bird jumps further.

Please provide any additional information below.
This will make learning experience more exciting (as well as debug).

Original issue reported on code.google.com by techtonik@gmail.com on 8 Jan 2014 at 10:01

GoogleCodeExporter commented 8 years ago
In terms of Blockly, this would be a challenging user experience since the 
behaviour of a nested loop would be messy and unintuitive (the code is changing 
live during execution).  However, within the simpler environment of code.org's 
tutorials this might make sense.

Toby, I'm bouncing this one over to you, since it is related to code.org.  
Closing the bug on Blockly's end.

Original comment by neil.fra...@gmail.com on 11 Jan 2014 at 2:10

GoogleCodeExporter commented 8 years ago
Well, if you can change the border around loop value, then it's different from 
initial, that would solve the confusion. Or am I missing some use case?

Original comment by techtonik@gmail.com on 11 Jan 2014 at 11:51