Partner Work 1 - Pac-Man meets Mickey Mouse
[an error occurred while processing this directive]Directions
First, watch the video below. Then see additional instructions below.
Create the application illustrated in the video by writing Java and Processing code using the Eclipse IDE, subject to the following constraints.
- Start by importing pw1DrawStuff.zip into Eclipse.
Use the Eclipse Basics if you need assistance importing a project. - You may draw the blue and pink regions anyway you'd like
- You may draw the X anyway you'd like
- You must use Java Methods to handle the drawing of Pac-Man and Mickey Mouse.
The colors, locations, and sizes of your visual elements do not have to match the video pixel-for-pixel. They just need to be close to what you see in the video. For example, the X should involve lines thicker than a single pixel, but they do not have to be exactly 10 pixels like in the video. Pac-Man should be yellowish, but doesn't have to be exactly (255,255,0).
Resources
Do not use any resources other than the ones listed below. In particular, do not search the Web for code samples and don't search some someone who has taken the class in the past. The point of these exercises is to create code on your own, not to find an answer that has already been created.
- Brainstorm with your partner. Although this is a computer class, use pencil and paper!
- Use the PW1 Reference Sheet
- Use the general resources on the CSC 130 Main Page
- Use the CSC 130 tutors
- Visit the instuctor during office hours or by appointment
Grading
Recall that partner work assignments are worth 30 points each. Refer to the syllabus for more course grading information.
- (8) uses appropriate method implementations and calls
- (2) drawing the pink screen
- (5) drawing the blue corners
- (5) drawing the X
- (5) drawing the Pac-man and remaining pie slice
- (5) drawing the mickey mouse shape at the mouse cursor
You can also pick up a few bonus points.
- (2) Visual elements move as in the video when the window resizes.
- (1) The mouse shape uses semi-transparency as in the video
Submission
Each pair will submit 1 file by taking two actions: submitting to Moodle and sending an email. Details are below.
- Ensure that each pair member's name appears as a comment at the
top of the code file. Replace the
YOUR NAME HEREtext at the top of the file with the correct names. - Upload the Pw1DrawStuff.java file to Moodle. This file is located your workspace folder, then the pw1DrawStuff folder, then the src folder, then finally the pw1drawstuff folder.
- Email the Pw1DrawStuff.java file contents by copying the code and then pasting in an email message to the instructor and to the other member of the pair.
- Each pair will submit only once. Only one person of the pair should submit to Moodle. Only 1 person should send email. Ensure that each member of the pair has a copy of the submission.