CSC 324: Assignment 4 clarifications
These clarafications and announcements were originally posted on the
assignments page.
- Clarification:
print_world should, for full marks, print a horizontal
pictoral representation of the world, similar to the example.
You may assume (and document) an upper limit to the length of a block name
(perhaps something like less than the width of a tab)
and you may assume the screen is wide enough to print your representation.
And no, you don't need to print the table legs. :-)
- Note: For part I, the limit is 3 blocks directly on
the table at any time. There is no limit to how tall a pile can be
(except the number of blocks in the world).
For part II, initialize_world defines how many piles can fit on
the table, and piles again can be as tall as there are blocks.
- Note: Part II is an extension of the functionality of part I.
You should provide place/2, on/2, and clear/1
predicates. The way you store the state of the world (in both parts)
is up to you.