Docsity

Mom, Python's Making Faces at Me! Computing - Homework 2 | CS 1301, Assignments of Computer Science

Toggle sidebar
bg1
CS 1301 – Fall 2008
Homework 2 – Mom, Python’s making faces at me!
Due: Friday, Aug 29th at 6 PM
Out of 100 points
Files to submit: 1. face.py
For Help:
- TA Helpdesk – Schedule posted on class website.
- Email TAs
Notes:
•Don’t forget to include the required comments and collaboration
statement (as outlined on the course syllabus).
•Do not wait until the last minute to do this assignment in case you run into
problems.
•If you find a significant error in the homework assignment, please let a TA know
immediately.
Part 1 – Myro Intro
So you’re sitting there, looking at your Python window, and you find it to be, well,
impersonal. So why don’t we add a little personality to it? How about…a face!
Hey! That looks much friendlier. And you can do it all with python! Specifically, that
infamous myro thing you’ve installed. Myro contains a multitude of commands for
programming your robot. See the documentation here:
http://wiki.roboteducation.org/Myro_Reference_Manual
For this assignment, we will be focusing on the graphics aspect of myro, so you won’t
pf3

Partial preview of the text

Download Mom, Python's Making Faces at Me! Computing - Homework 2 | CS 1301 and more Assignments Computer Science in PDF only on Docsity!

CS 1301 – Fall 2008

Homework 2 – Mom, Python’s making faces at me!

Due: Friday, Aug 29th at 6 PM

Out of 100 points

Files to submit: 1. face.py For Help:

  • TA Helpdesk – Schedule posted on class website.
  • Email TAs Notes:
  • Don’t forget to include the required comments and collaboration statement (as outlined on the course syllabus).
  • Do not wait until the last minute to do this assignment in case you run into problems.
  • If you find a significant error in the homework assignment, please let a TA know immediately.

Part 1 – Myro Intro

So you’re sitting there, looking at your Python window, and you find it to be, well, impersonal. So why don’t we add a little personality to it? How about…a face!

Hey! That looks much friendlier. And you can do it all with python! Specifically, that infamous myro thing you’ve installed. Myro contains a multitude of commands for programming your robot. See the documentation here:

http://wiki.roboteducation.org/Myro_Reference_Manual

For this assignment, we will be focusing on the graphics aspect of myro, so you won’t

need your robot. Both the link given above, as well as the PDF for the Myro Graphics Reference will be rather helpful.

Part 2 – Making the Face

Your mission, should you choose to accept it (and we recommend that you do), is to make a face in Python. You need to create a program that initializes a graphics window, and draws the face. When you are done, save your program as “face.py”. Make sure that

your filename matches this exactly, or you will lose points!

The face should contain:

  • A Head
  • 2 Eyes
  • A Nose
  • A mouth
  • At least 2 different colors

Try to keep things in a general face alignment here (Sorry to all you budding Picassos out there), but the shapes can be whatever you want. Be creative!

Part 3 – Turning it in

Once you’re done, please submit face.py to T-Square. The assignment is due Friday, August 29th^ at 6pm. If you’re late, but turn it in before 6pm on Monday, you will lose 10%. We will not accept submissions after Monday.

Note that all submissions to T-Square are FINAL! If you are not done, use the “draft” option. Don't hit submit until you are sure your face.py file meets all of the requirements of this homework assignment.

Part 4 – Grading Rubric

File named correctly (face.py) – 10 points Creates a graphics window – 20 Draws a head – 12 Draws 2 eyes – 12 Draws a nose – 12