User Tools

Site Tools


make_a_maze

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
make_a_maze [2019/08/17 11:25] frchrismake_a_maze [2019/08/17 11:28] frchris
Line 33: Line 33:
  }  }
 }</code> }</code>
-  - You can make a long string and send it all at once to the World:<code java>public static void main(String[] args) { +  - You can make a long string and send it all at once to the World.  :<code java>public static void main(String[] args) { 
- String hurdles = "streets 6\n" +  + String hurdles = "streets 8\n" +  
- "avenues 10\n" +  + "avenues 9\n" +  
- "northsouthwalls 8 1 1\n" +  + "eastwestwalls 3 3\n" +  
- "northsouthwalls 4 1 1\n" +  + "northsouthwalls 1 6 5\n" +  
- "northsouthwalls 2 1 1\n" +  + "eastwestwalls 6 6\n" +  
- "northsouthwalls 1 1 1";+ "beepers 1";
  World.getWorld(hurdles);  World.getWorld(hurdles);
  World.setVisible();  World.setVisible();
         task();         task();
  }</code>  }</code>
make_a_maze.txt · Last modified: 2021/09/05 13:16 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki