@Mrocza while I agree with your post, I don't necessarily get your example. I think the script is written exactly the way you described.
Not really:
The while() loop is introduced AFTER the production line and all other basic instructions were introduced. Also, while() loop is the simplest loop there is, I don't know what's wrong with starting with it. Have you read Head First book series? They're unusually written books that focus on learning experience. In Head First Java the first loop shown is... the while() loop. What do you want to show the beginner instead? for() loop? for() loop is actually REALLY confusing for the beginners, I know from personal experience. In the book I mentioned the for loop appears in the 6th (or something like that) chapter, and in the simpler version (for(int number : numbers))! Before that only while() loop was used even in cases where for() loop would be better (x = 5; while(x > 0) { x = x - 1; }). Do you want to show repeat() loop? I'm not sure if it even exists in Gold and it's so unnecessary and bad that I don't want it to come back.
(09-25-2015, 07:35 PM)Mrocza Wrote: Loops are introduced in a moment when the player has to simultaneously keep track of the relations between multiple game elements - cube, ore, converter, grabber and moreover lack of relations - cubes are not bound to platforms. On top of that the first loop introduced is a conditional loop (while). That's a steap learning curve there, a snowball rolling off the hill. A giant snowball tends to get out of controll pretty easily.
Not really:
(07-16-2015, 11:19 AM)krzys_h Wrote: 2.1. Make some titanium
Scenery: There is a Converter 5m in front and TitaniumOre on a platform 10m behind
Task: Make some Titanium and bring it back to the platform
Info in SatCom: wait(), time needed to make Titanium, move away so that the Converter can work
The while() loop is introduced AFTER the production line and all other basic instructions were introduced. Also, while() loop is the simplest loop there is, I don't know what's wrong with starting with it. Have you read Head First book series? They're unusually written books that focus on learning experience. In Head First Java the first loop shown is... the while() loop. What do you want to show the beginner instead? for() loop? for() loop is actually REALLY confusing for the beginners, I know from personal experience. In the book I mentioned the for loop appears in the 6th (or something like that) chapter, and in the simpler version (for(int number : numbers))! Before that only while() loop was used even in cases where for() loop would be better (x = 5; while(x > 0) { x = x - 1; }). Do you want to show repeat() loop? I'm not sure if it even exists in Gold and it's so unnecessary and bad that I don't want it to come back.