RoBOTL

The World of RoBOTL


To specify any particular square, the square's coordinates must be given. The coordinates consist of the column number and the row number, giving each square unique coordinates. Since the column number can be the same as a row number, column and row coordinates are given as a pair always in that order, separated by a comma (this is also called an ordered pair). For example, the northwest corner is 0,19 and the southeast corner is 19,0. The other two corners are the southwest at 0,0 and the northeast at 19,19. Another way to determine a coordinates for a square is to count the number of rows to the north and columns to the east starting from 0,0 (the southeast corner).

A field is initially empty, but that would be a boring example, so our example world has a robot and some beepers, blocks, and walls. In the example, the > represents a robot that is facing east. The only robot shown is at square 0,0. The represents one or more beepers. Two squares are shown with beepers: one at 7,4 and the other at 13,10. A single block is shown at square 3,3. Two walls of blocks (groups of contiguous blocks in a single row or column) are shown: one starting at 7,6 going north for 6 blocks, and the other starting at 9,6 going east for 8 blocks.

A robot and an unlimited number of beepers can occupy the same square at the same time. A robot cannot occupy the same square as a block, nor a square currently occupied by another robot. A hidden wall surrounds the field and keeps robots from escaping.


Go to Next Section of the RoBOTL Reference Guide:
You can also go:

Created on 16 June 1995
Last revised 27 January 1997
Copyright ©1995,1996,1997 Walter S. Ching, n1hbr@ma.ultranet.com