robot_olympics
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
robot_olympics [2019/08/18 10:25] – frchris | robot_olympics [2019/08/18 12:41] (current) – frchris | ||
---|---|---|---|
Line 10: | Line 10: | ||
{ | { | ||
World.setDelay(30); | World.setDelay(30); | ||
+ | World.setSize(6, | ||
World.setBeeperColor(Color.CYAN); | World.setBeeperColor(Color.CYAN); | ||
World.placeBeepers(4, | World.placeBeepers(4, | ||
- | World.placeBeepers(2, | + | World.placeBeepers(2, |
- | + | ||
World.setVisible(); | World.setVisible(); | ||
task(); | task(); | ||
Line 20: | Line 20: | ||
{ | { | ||
Robot karel = new Robot(1, | Robot karel = new Robot(1, | ||
+ | // Your code here | ||
karel.turnOff(); | karel.turnOff(); | ||
} | } | ||
} | } | ||
</ | </ | ||
+ | {{:: | ||
+ | |||
+ | [[http:// | ||
+ |
robot_olympics.1566138330.txt.gz · Last modified: 2019/08/18 10:25 by frchris