CSC 213 — Programming Fundamentals

Lab 02 - House

Overview

In this assignment you'll use the ACM graphics libraries to generate an image of a house.

Assignment

Write a GraphicsProgram that generates a simple picture of a house with a peaked roof, two windows, and a door with a circular doorknob. You should choose coordinate values for your drawing that produce a reasonable approximation of the diagram given below.

Java House

As with most labs in this class, up to 10% extra credit may be earned by going beyond the basic requirements, as long as the basic requirements are met.

For example, you can earn extra credit by coloring the house, placing it on a background (blue sky, green grass) or adding extra details (curtains, a chimney, a picket fence, etc.).

References

The following sites might assist you as you decide how best to draw the house:

Submission

To submit your assignment, follow the instructions for code submission.