CS111 Lab 6 Solutions
Solutions to the programming problems in lab 6 are presented by first answering
the following five questions and then writing the actual code for the problem.
- How is the pattern drawn?
- How are consecutive calls to the pattern different?
- How do we move into position to draw the next pattern call?
- How do we meet the invariant, if any?
- What is the base case?
The questions are explained in more detail in the Lab 6
description.
Solution code for the problems are available in the CS111Lab6_Solutions folder
in the /usr/users/cs111/download/labs_morning directory on nike.wellesley.edu.
- BoomerangWorld
- EiffelWorld
- InvertedTriangleWorld
- NestedWindowWorld
- NestedPolygonWorld