Partner Work 3 - Roshambo / Janken / RPS
[an error occurred while processing this directive]Background
Today we exercise our newly learned skills about booleans and comparisons and decisions to build a Processing program that lets two people play the age-old classic game.
Directions
- Start by importing PW3RPS.zip into Eclipse.
- Pay attention to the comments in the code
- The problems are marked by comments like
// ----- START PROBLEM 1 ----- - Complete the problems one at a time, checking your work as you go. The comments will help direct your efforts and let you know what to expect from the game as you complete the code correctly.
- Complete all five marked problems as directed. Get assistance from the instructor as needed.
Resources
Do not use any resources other than the ones listed below. In particular, do not search the Web for code samples. 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 class notes and sample projects from this week about decision code
- 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. Each of the 5 problems are worth 6 points. Emphasis is placed on correct use of conditional code (if-statements) in Java.
Submission
Submission directions are different than the previous assignment. Read carefully.
Each pair will submit 1 file by taking two actions: sending an email and providing an electronic submission. Make sure both names appear as comments in the submissions. Details are below.
- Email: For each section, copy the code starting from the top comment (START PROBLEM) to the bottom comment (END PROBLEM) and paste into a single email message. Send to the instructor and cc your partner.
- Moodle: Upload just the PW3RPS.java file to Moodle. Do not export to a zip file.
- Each pair will submit only 1 file. Only one person of the pair should submit to Moodle. Only 1 person should provide an email. Do ensure however that each member of the pair has a copy of the submission.