HOMEWORK 6 GRADING OUTLINE: --------------------------- Requirements: ------------- 1 Proper comments including name, date, assignment number and program description in opening comment, and at least one useful inline comment. 2 Proper use of whitespace, including proper and consistent indenting. 3 Descriptive, well formatted output. 4 Descriptive variable names. 5 Syntactically correct (compiles with no errors or warnings). 6 Correct output for all provided sample test cases. 7 Correct output for all legal test cases. 8 Turn in your log sheet. Failure to do so will lower your score one full point. 9 Proper use of functions and parameter passing. No global variables (actually called class variables in Java) are allowed in this assignment. Your program MUST contain AT LEAST one non-trivial function (in addition to main()) that has a parameter. As a general rule no function should be more than 25-30 lines long. Grade computation: ------------------ 7(Makes you weep at its beauty): A truly beautiful program. Excellent comments. Very easy to read. Well designed. Many extra features. 6(Extra features or particularly elegant): Your program must accept the same sequence of input values as the SampleCraps program provided. You can provide extra features via command line arguments (see section 5.11.1). Some possibilites include * specify a different starting amount * a graphical user interface (see applet exercise at end of chap 3) * some visually more interesting output, but still text based * allow the person to get more money when they run out I want to say again, any extra features must be normally disabled and only enabled via some type of command line argument processing. 5(Satisfies all requirments - a job well done): 4(Meets general requirements with a few minor problems): Lacking one or two of requirements 1-4, or lacking requirement 7, or lacking requirement 9 but makes some reasonable use of functions. 3(Serious problems): Lacking at most one of requirements 1-4 and lacking requirement 6 (but works for some non-trivial cases or works when "number in a row" is assumed to be three), or lacking two or more of requirements 1-4, and lacking requirement 7, or lacking requirment 9, making no non-trivial use of functions with parameters. 2(Extremely serious problems but demonstrates some effort and understanding): Lacking requirement 5. 1(Shows little effort and does not represent passing work):