Get 100% Unique And Top-Notch CSC72003 - Programming Assignment Help Service By Expertsminds Skilled Tutors..!!

Home   Course  
Previous << || >> Next

ORDER NEW CSC72003 - PROGRAMMING ASSIGNMENT & GET 100% ORIGINAL SOLUTION AND QUALITY WRITTEN CONTENTS IN WELL FORMATS AND PROPER REFERENCING.

CSC72003 - Programming Assignment - Southern Cross University, Australia

Task - Your task is to complete various exercises in BlueJ, using the Java language, and to submit these via the MySCU link created for this purpose.

Part I: Set up your assignment

Written Exercise 1 - Write a brief description of your game in your word document. Describe your game including the back story and the setting. List the items in the game. Explain how the player wins.

In this assignment, we have made the game of the adventure game and we have plain for the base of an adventure game. Here room has denoted the room location and this is related to the other room with the setExits().

In this game we have included four items are following

  • Bag
  • Light
  • Magic key
  • Sunshade

The player wins the game to reach the room outside before maximum move.

Written Exercise 2 - Draw a map for your game scenario. Label the rooms, Label the exits (connections between rooms) and specify the locations of the items.

Room Map

Programming Assignment.jpg

In the above map, we can see that there are the different room is seen on the map. Map actual gives the view and ideas of the game. In the above map, we can see that there are a basement, kitchen study hall, living room, bedroom, office are shown on the map. Here we have to move one by one room and we must reach the basement to win the game. In the different room, we will game different item which helps to win the game. A magic key can find in one of the room. This may help to the player to win the game and get the overall idea of the game and how to operate the game and help to develop the map in mind so a user can win the game with minimum time. In the map, we can see the outside direction and we can get the idea where we can come out from different room example basement.

Here we have set four items in the room class. Such as:

  • Light
  • Bag
  • Magic key
  • Sunshade

GET GUARANTEED SATISFACTION OR MONEY BACK UNDER CSC72003 - PROGRAMMING ASSIGNMENT HELP SERVICES OF EXPERTSMINDS.COM - ORDER TODAY NEW COPY OF THIS ASSIGNMENT!

Part 2: Written Exercise 3 - Your game has 6 exits however the zuul-bad game only has 4 exits. You must identify and describe the changes you would need to make to the zuul-bad project to convert it into your game. You need to consider the additional exits and rooms you have in your game.

Class Room

Instance variables

We have given an exception for the two variables in the room class. Here down room range to increase the exits number from 4 to 6.

getDescription method

In this method, we have checked the room details since there are no changes.

setExits method

In this method, we have to add the move and down parameter at the top and bottom result. We must have to check the assign value and status that are connected to the downexits and upsets variable.

Class Game

Instance variables

Here we not have to insert the variation or entry of the room in the game class that is used to insert room.

createRooms method

We have made the CreateRooms() method. We can insert the six-room in the room class. In the room there are restroom, bedroom, kitchen, living room and hall is available. We have to insert the construct and define in the main class and then create the object of the room class. In this room class, we have to add more items. We have included items such as key, holder, umbrella, and torchlight.

DO WANT TO HIRE TUTOR FOR ORIGINAL CSC72003 - PROGRAMMING ASSIGNMENT SOLUTION? AVAIL QUALITY CSC72003 - PROGRAMMING ASSIGNMENT WRITING SERVICE AT BEST RATES!

play method1

In the method, there are no changes, but we need to read all the command, it helps for the game.

printWelcome method

In printWelcome method there are changes is required,upExitis not equal to the null value after that display message and it is similar for the downExit,downExit, and upExitin theroom class.

processCommand method

Here go, quiet and helps this is helping commands that are helpful for processCommand method.

printHelp method

upExists ,downexits this helps for the goRoom() method. And it is required some changes. We have to check the room and set the room for theupExits. this method is similar for the DownExits.

quit method

Here no any changes.

Part 3: Written Exercise 4 - The printWelcome method and the goRoom methods contain code duplication and both print a description of the current room and a list of the exits. This is not a good design. Explain why.

We have created the goRoom() and printWelcome() method, we have identified the direction of the room. Here in this method that is present the same code. The duplication of the code is not good design. So, we have made the separated code and method to displays the roominformation.We can call both this method and this is used to avoid the duplication.

Programming exercise 1 - Correct the problem of repeated functionality in the printWelcome and goRoom methods by refactoring the repeated functionality out of these methods into a method of its own called getRoomExitsAndDescription.

For this exercise, we have created the getRoomExitsAndDescription() method, for that we have call this method in the printWelcome() as well as goRoom(), this both methods it helps to remove the duplication of code.

Written Exercise 5 - In the previous exercise you created the getRoomExitsAndDescription method that prints a description of the current room and a list of the exits. This code is contained in the Game class. This is not a good design. Explain why.

In the game class, we have to make GetRoomExitsAndDescription() method, this method helps to print the list of the description. And describing the details of the class game. Thus it is the best game.

GETTING STUCK WITH SIMILAR CSC72003 - PROGRAMMING ASSIGNMENT? ENROL WITH EXPERTSMINDS'S CSC72003 - PROGRAMMING ASSIGNMENT HELP SERVICES AND GET DISTRESSED WITH YOUR ASSIGNMENT WORRIES!

Programming exercise 2 - Refactor the code that generates the list of the exits into a method named getExitString in the Room class.

We have put down all the changes.

Written Exercise 6 - Identify and describe the changes you would need to make to the zuul-bad project to convert it into your game, just like you did in written exercise 3. You need to consider the additional exits and rooms you have in your game.

We have made the getLongDescription() methodit is used to display the room details after that call the getExitsString() method. So it helps to store the door information in the array list with the help of getDoors() method. We have also created the new class to store the door name and open or lock the position of the door.We have made the set and get method for a set rate of the room.

Written Exercise 7 - Answer the following question. Has the design improved? You must explain why or why not.

Here we have made the code of the game class and we have improved the code and set the modulating code with the help of classes and the relevant code. For example, the door details are put in the door class. As same the room details are put in the room class.

Programming exercise 3 - Update the comments at the beginning of the Game class, the Room class and the message displayed by the printWelcome method so that they describe your game.

We have modified the comments in the game and room class. So with the of printWelcome() method, we can display the message or information. Here same the modification is in the game and room class.

Part 4 - Programming exercise 4 - Improve the design of the Room class by refactoring it so that it uses a HashMap to store the exits instead of an individual field for each exit.

In the room class, we have modified the code and then we have inserted the HashMap, HashMap is used for the exit name.

Part 5 - Programming exercise 5 - Create an Item class to represent the items in your game.

Here, we have created the item class it is used to describe the items and items name in the game class.

Programming exercise 6 - You will need to think about what fields and methods to add to the Room class.

Here we have made the additem() method and takeItem() method.

NEVER BE CAUGHT IN PLAGIARISM, AVAIL CSC72003 - PROGRAMMING ASSIGNMENT HELP SERVICE OF EXPERTSMINDS.COM AND SAVE HIGHER MARKS!

Programming exercise 7 - Modify the appropriate code so that if the player enters a room containing an item, the name and description of the item are displayed along with the description of the room and the list of exits.

We have updated the code and appropriate code.

Programming exercise 8 - Edit the code in the Game class so that the items for your game are created and added to the appropriate rooms at the start of the game.

Here we have updated the appropriate code in the game class.

Part 6 - Programming exercise 9 - Modify the Game class so that it will recognize the command take.

Modified the code and changes as per the client requirements.

Programming exercise 10 - Modify the Game class so that it will recognize the command inventory.

Modified the code and changes as per the client requirements.

Programming exercise 11 - Add support to the game for a drop command so that the player can drop an item by name (e.g. "drop book").

Modified the code and changes as per the client requirements.

Programming exercise 12 - Modify the printHelp method of the Game class so that it automatically displays any new command words that are added to the game.

Modifications

Programming Assignment1.png

Programming Assignment2.png

EXPERTSMINDS.COM GIVES ACCOUNTABILITY OF YOUR TIME AND MONEY - AVAIL TOP RESULTS ORIGINATED CSC72003 - PROGRAMMING ASSIGNMENT HELP SERVICES AT BEST RATES!

Listed below some of the major courses cover under our Southern Cross University, Australia Assignment Help Service:-

  • CSC71001 - Programming Assignment Help
  • CSC00240 - Data Communications and Networks Assignment Help
  • CSC72001 - Database Systems Assignment Help
  • CSC10214 - Designing the User Experience Assignment Help
  • CSC10215 - Developing the User Experience Assignment Help
  • CSC72002 - Object Oriented Programming Assignment Help
  • CSC73010 - Programming Mobile Systems Assignment Help
  • CSC73001 - Cloud Systems Development Assignment Help
  • CSC10217 - Web Development Assignment Help
  • CSC72005 - Securing Networks Assignment Help
  • CSC73002 - Network Management Assignment Help
Tag This :- EM19441AVN0519PRG_2 CSC72003 - Programming Assignment Help

get assignment Quote

Assignment Samples

Get Academic Excellence with Best Skilled Tutor! Order Assignment Now! Submit Assignment