newspaper_retrieval
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| newspaper_retrieval [2019/08/17 23:42] – frchris | newspaper_retrieval [2022/08/23 09:40] (current) – frchris | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| northsouthwalls 3 4 4 | northsouthwalls 3 4 4 | ||
| northsouthwalls 3 6 6</ | northsouthwalls 3 6 6</ | ||
| + | |||
| + | |||
| + | You can download this kwld file: [[https:// | ||
| {{:: | {{:: | ||
| + | |||
| + | Here is some starter code: | ||
| + | <code java> | ||
| + | import java.awt.Color; | ||
| + | import kareltherobot.*; | ||
| + | public class Newspaper implements Directions | ||
| + | { | ||
| + | public static void main(String[] args) | ||
| + | { | ||
| + | World.setDelay(30); | ||
| + | World.setBeeperColor(Color.BLUE); | ||
| + | // | ||
| + | World.getWorld(" | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | World.setVisible(); | ||
| + | task(); | ||
| + | } | ||
| + | public static void task() | ||
| + | { | ||
| + | Robot karel = new Robot(3, | ||
| + | |||
| + | } | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | |||
| + | [[http:// | ||
newspaper_retrieval.1566099733.txt.gz · Last modified: 2019/08/17 23:42 by frchris