09-30-2015, 09:42 PM
I'm trying to get an overview on what will the basic exercises look like. I think that the exercises from CeeBot-Teen are pretty good for begginers, except for the fact that we don't want to use repeat() and for() is too complicated so early on.
Code:
Easy exercises
==============
(CeeBot-Teen based)
Most exercises are copied from CeeBot-Teen, but I'd love to have new help files written for them, the original ones are not very descriptive
In each exercise SatCom opens automatically
Note that CeeBot-Teen uses different distance units, so I'm kinda sticking to that (normal missions is 1 meter -> 4 engine units, Teen is 1 centimeter -> 1 engine unit)
I. Moving
1.1. Straight forward
* Hello, this is C:GE, and this is SatCom, use F1 to reopen it if needed!
* what a "program" is? what is the computer's "language"?
* what do we need to do? Move forward 40 centimeters to the WayPoint
* how to open the program editor
* what to type - "move(40);", don't touch anything else (you can always click "New" if you remove something by mistake)
* how to start the written program
* how to reset if you mess it up
1.2. Turn and move
* oh no, the robot is turned 90 degrees away from the WayPoint
* the algorithm is a bit more complicated:
1) Turn 90 degrees left (and explain how much 90 degrees is - I have no idea how young kids will be using this ;)
2) Move forward 40 cm
* what exactly to write
* remember, you can always reset
1.3. The second cross
* copy of the previous program
* add the following at the end:
turn(90);
move(80);
1.4. More crosses
* copy of the previous program
* how to turn right (negative values)
* add the following at the end (you have to write the instructions yourself!):
1) Turn right 90 degrees
2) Move forward 100 centimeters
1.5. The last crosses
* copy of the previous program
* find the next cross
* only a map, no instructions
1.WIN. A winning screen
* chapter complete!
II. Drawing
2.1. Draw a line
* hey, a new robot!
* pendown(Red); to put the pencil on paper, then move 20 cm forward
2.2. Draw another line
* draw a line, this time using Green
* no program given here
2.3. Draw an "L"
* an image of what to draw
* reminder of useful instructions
2.4. Draw an colorful "L"
* change color for the second line
* explain the full algorithm, but no code
2.5. Move the pen up
* two pieces of paper, don't draw between them
* penup()
* explain the algorithm (without code)
2.6. Something in the way
* almost like the previous one
* there is some kind of can in the middle
* you need to move around it using turn()
2.WIN. Yay, chapter finished!
III. LOOPS
3.1. Draw a square
3.2. (repeat would go here, but I don't want it, and it's too early for for(), not sure what to do)
3.3. Hexagon
* this shows how to modify the previous program to draw more edges
* what the turn() angle should be?
3.4. A circle
* just do the same with 36 steps
3.5. Suprise
* do this and see what happens:
- pendown
- repeat 18 times:
- move 10
- turn 160 left
- move 10
- turn 140 right
* can you guess?
* speed modes
3.WIN. Yay you understand loops now!
IV. Shooting
(yeah, I had enough typing, just look at exercises from Teen)
4.1. one target
4.2. four targets
4.3. eight targets
4.4. move around the square and shoot
4.5. targets on the other side (you need to turn around)
4.6. targets in the middle, not the ends
4.7. 4 targets in a line
4.WIN. yay!
TODO:
some grab/drop
some radar (as simple as possible, teen had find which is something like radar+goto)
some if instructions
some labiynths