80 likes | 217 Views
CS12230 Introduction to Programming Lecture 4-x – Assignment. The assignment. Art Show. Javadoc Its own little language. When I hand out code I omit it so we can see everything on one sheet Also I am ‘talking my code through’ YOU SHOULDN’T. Producing it. { { {. /**
E N D
The assignment Art Show
Javadoc Its own little language When I hand out code I omit it so we can see everything on one sheet Also I am ‘talking my code through’ YOU SHOULDN’T
Producing it { { { /** * This class represents a Player in a MUD Game * @author Lynda * @version version 1 */ public class Player { … stuff deleted /** * Better Constructor for objects of class Player * @param theName starting name * @param theImageFile where the picture resides */ public Player(String theName, String theImageFile) { … stuff deleted /** * toString () returns a printable String * @return nice printout information */ public String toString() {
How use then? Player p=new Player(“fr”,”f.jpg”); p.setTreasure (t); System.out.println(p.toString()); Using it Class Playerextends java.lang.Object This class represents a Player in a MUD Version: version 1 Author: Lynda Under details: public Player(java.lang.String theName, java.lang.String theImageFile) Better Constructor for objects of class Player Parameters: theName - starting name theImageFile - where the picture resides
Other things the assignment asks for • More UML and other notations
Use case diagrams – part of your analysis of the problem (SEE 4-3 SLIDES) • Class diagrams and discussion. Make sure you have the links between the classes labelled correctly • An object diagram • Pseudocode for tricky algorithms – describe how you did the usecases • Testing: • A table with what you are testing, what you expect, whether it passed or not, refers to … • Some screen shots
The format? • Write a self evaluation – mention what didn’t work on it • Make all your documentation into pdf • Put everything in one zip file (zip!!!!!!!!) • Submit via blackboard in enough time