CSIT111/811:Computing & Information Technology- Programming Fundamentals Assignment

Download Solution Order New Solution
Internal Code: MAS1761

Programming Fundamentals Assignment:

Task: Objectives This assignment requires you to create two programs in Java for computers to accomplish two tasks: manage a play list of songs and simulating a new card game called BlackJoker. Upon completion of this assignment, you should be able to create programs to accomplish tasks by analysing problems, implementing class designs and creating client programs of user-defined classes with interaction of objects. Requirements: 1. You should create your programs with good programming style and form using proper blank spaces, indentation and braces to make your code easy to read and understand; 2. You should create identifiers with sensible names; 3. You should make comments to describe your code segments where they are necessary for readers to understand what your code intends to achieve. 4. Logical structures and statements are properly used for specific purposes. 5. Other requirements as stated in Submission section. Task 1: Implement Card, CardDeck and Player classes You should implement all classes modelled in the following UML diagrams. You should implement the classes as specified exactly without removing or adding any class members of the classes. You need analyse the rules of the game and the gameplay as in the sample runs to determine the behaviours of the objects and the semantics of the methods as in the UML diagrams. All members of the classes are useful and must be used at least once. The ranks and suits members of the CardDeck class are used to define the values of card ranks and suits, respectively. SCIT4   Task 2: Create a single player BlackJoker program You will create a single player game in the file BlackJoker.java. You should implement the interface and the rules of the game in the main method by invoking appropriate methods of the classes modelled in Task 1. Some sample runs of the program are as follows. (User input is in red colour, the card ranks and points in blue colour, prompt lines in black colour and results in green colour. Highlights in colours in this paper are for readability only.) SCIT5     SCIT6 SCIT7 Documentation Provide documentation comments for all classes and methods using @author, @param and @return tags where appropriate. Use the following command to create the documentation. javadoc –author -d doc Song.java Playlist.java MyPlaylist.java You do not need to submit the generated documents and do not do so. The documents will be generated when your code is marked.    

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.