How to build a world --- Computer Science II --- Haas


Running WorldBuilder

Double click on the KarelJRobot.jar file to launch the world builder. If this does not work create a file named WorldBuilder.bat with contents (just one line): java-jar KarelJRobot.jar
Put it in the same directory as the jar file and double click it to run the world builder.

Using WorldBuilder

If you can’t get the jar file to run you will have to build worlds by editing text files. Here is a sample file.


KarelWorld
Streets 10
Avenues 20
beepers 3 4 1
beepers 4 2 1
eastwestwalls 3 2 4
northsouthwalls 4 2 2
northsouthwalls 4 3 3
northsouthwalls 1 5 5
northsouthwalls 1 4 4