COS 100: Introduction to Programming
Interim 2021
HW Project 09: Smiley face
Due: 01/21 Thu 10pm
When You said, "Seek My face,"
My heart said to You, "Your face, Lord, I will seek."
This is a solo project.
My heart said to You, "Your face, Lord, I will seek."
Psalm 27:8
Project goal
Write a program to draw a face.Project specification
Your drawing should:- Use at least three colors
- Use at least two kinds of shapes
- Stay open until the user quits (you saw four different ways to do this in lab) and then...
- Close the window
Notes and optional challenge
- Do not submit
graphics.py
, the grader has it already. - I'll give one extra credit point to the two faces I like best, purely subjectively. You need not compete for such a lowly prize; but if you're so inclined, go wild.
- I may show some faces (winning or not) in class. If you do not want your work to be shown, indicate so clearly in the comments at the top of your program.
Grading
Please name your filesmiley.py
. This makes it a little easier for the grader.
- Style/comments [3 points]
- All the style guidelines from previous assignments, as always.
- In particular, even in an assignment like this, you should make good use of functions, descriptive names for functions and variables, and appropriate usage of comments.
- Except for the
import
statement, which should be at the beginning of your program, after your initial comments, the rest of the code should be in functions.
- Requirements [4 points]
Start early, have fun, and discuss questions on Moodle.