Code a game for children to play.
Some possiblities:
| 0-1 | 2 | 3 | 4 | |
| 10 games list | Almost 10 games. some choices may be similar. | 10 games. | 10 games. Some interesting choices not from the above list. | 10 games. Many unique and creative choices not from the above list. Your list is fairly distinct from others in the class. |
| Choice | Choice is not outlined in a paragraph. | Choice is very briefly justified. | Choice is well justified. | Good grammar and spelling. If paragraphs are needed, they are used. |
| Intro Screens | One screen is drawn. Few user instructions. | User instructions (on labels: eg. Enter a number) are provided. | Opening Screen and Instructions appear. | Extremely well laid out. Choices of pictures have been completed. |
| Game Screen | Few labels, pictures. Unclear. | Buttons to trigger events, reset button, points. | Clear labels and indications to the user how the game will be played. | Extremely detailed. Obvious how to play. Error proof. New widgets used. |
| 0-2 | 3-4 | 5-6 | 7 | 8 | |
| Widgets | buttons, labels, textfields. | option panes. | multiple screens, panels. | New widgets used. | Many new things tried. |
| Comments | title only | before ifs and loops | all present. | listed extra features after the title comments. | sourced new items and pictures at the top after the title comments. |
| Functionality | game runs. | scores displayed. reset button. | lots of widgets. game has instructions and is user friendly. | Great game. Plays well. | Game is complex and/or unique. |
| Error checking. | none. | some minimal checks and corrections. | Error checking of input. | Hard to cheat or break the game. | Lots of error checking. Impossible to break the game. |
Make a rock- paper-scissors game OR any game of your choice.
An example of User Interface:
Rubric
| Level | Description |
| 1 | Pictures change for user when selected. The computer's pictures change automatically. |
| 2 | The winner is calculated and displayed to the user. Some basic formatting is done, make resize and colour and font. Title comments - name, date and purpose is at the top. |
| 3 | The score is updated on the screen. |
| 4 | A new widget is tried or extrememly nice formatting
(maybe a cardLayout). Source of new code is recorded in title comments. |
| 4+ | Many new widgets or new code added. (JCheckboxes, JRadioButtons, Sound,
JProgress Bars, JSpinner) Source of new code is recorded in title comments. |
| 0-2 | 3-4 | 5-6 | 7 | 8 | |
| Set up/ Layout | hard to follow | some titles | titles and concluding sentences for choices | very easy to follow. | outstanding layout. |
| List of 10 | Few games selected. | Many games selected. | 10 games, variety of options. | 10 games, all resonable. | Very creative or extra options. |
| Selection chart | Very brief. | Needs more details. | Good criteria, well explained. | codable, do-able in the time alloted. | Very creative or extra options |
| 0-2 | 3-4 | 5-6 | 7 | 8 | |
| Set up/ Layout | hard to follow | some titles | titles and concluding sentences for choices | very easy to follow. | outstanding layout. |
| Screen Designs | Few screens, quick drawing. | Widget types are clear. | Picture selections are clear. | Panels labelled. | Names of variables included, including which variables need to be global. |
| Structure Chart Screens | Very brief. | Needs more details. | Screens and links shown. | codable, do-able in the time alloted. Well laid out. | Very creative or extra options. |
| Structure Chart Methods | Very brief. | Needs more details. | Methods and major functions shown. | codable, do-able in the time alloted. Well laid out. | Very creative or extra options. |
| Flow charts | major errors. | minor errors. | 2 or so for major functions. correct shapes. | Well laid out or extra flow charts. | Very creative, possible pseudocode. |
An Example Assignment: Rock, Paper Scissors Game
Make a game that simulates Rock, Paper, Scissors. The user will be able to choose which one they want. They will play against the computer (whose choices will be randomly generated). The following table demonstrates how the winner is determined.
| Choice 1 | Choice 2 | Winner |
| Paper | Rock | Paper (paper covers rock) |
| Rock | Scissors | Rock (rock blunts scissors) |
| Scissors | Paper | Scissors (scissors cut paper) |
Required elements:
Recommended Steps: