Robot Example: GraphOne
In the following applet, a robot named
karel makes a graph using thing objects.
karel is a special kind of robot, a
GraphBot has one extra service that allows it to make a graph.
The robot is in a special kind of city, a
GraphCity is just like any other city except that it includes piles of
Thing objects that serve as the "data" that
The source code is in three parts: