Lab5 - CMSC 143 Introduction to Object-Oriented Programming with Robots Lab 5 Etch-A-Sketch Due October 4 2010 Submit a copy of your python

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CMSC 143: Introduction to Object-Oriented Programming with Robots Lab 5: Etch-A-Sketch Due October 4, 2010 Submit a copy of your python program (cmsc143 lab5 LASTNAME FIRSTNAME.py) on moodle. Your program should have your name, email, and the date at the top of the file as a comment. You are creating an etch-a-sketch program. I’ve provided you with a working program (etch-a-sketch 1.0), but you have to add a few features to create version 2.0. Your program should let the user provide a rough sketch, and then by selecting a button on the gamepad, your program should redraw the sketch in an inven- tive manner in a new window. The random module might be useful, and don’t forget to add color! You’ll need to complete: 1. A function drawCircles(sketch, win) that uses circles to redraw the sketch in a new window . 2. A function drawLines(sketch, win) that uses lines to redraw the sketch in a new window. 3. A function
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/14/2010 for the course CMSC 143 taught by Professor Keitho'hara during the Spring '10 term at Bard College.

Page1 / 2

Lab5 - CMSC 143 Introduction to Object-Oriented Programming with Robots Lab 5 Etch-A-Sketch Due October 4 2010 Submit a copy of your python

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online