karelg
is a simulator written with an X Window System GTK user
interface. To run the samples/maze.k Karel program in the karelg
simulator:
gtk/karelg -p samples/maze.k -w samples/maze1.wld
The X Window System front end is based on the Gimp ToolKit. The choice of X toolkits is largely personal preference. GTK was chosen because of its LGPL license. The core of the Karel Simulator, the execution engine, is independent of any user interface. It should be easy to create a new user interface for Karel with a different X toolkit. This was one of the goals for the Karel Architecture.
Go to the first, previous, next, last section, table of contents.